class SorceryCore < ActiveRecord::Migration[7.0]
  def change
    create_table :users do |t|
      t.string :email,            null: false
      t.string :crypted_password
      t.string :salt

      t.boolean :admin, default: false

      t.timestamps                null: false
    end

    add_index :users, :email, unique: true
  end
end
