Scaffold out User (#20)

Reviewed-on: #20
This commit is contained in:
Andrew Tomaka 2024-07-26 23:24:54 -04:00
parent c23f58a6df
commit a70c656690
21 changed files with 309 additions and 2 deletions

View file

@ -0,0 +1,11 @@
class CreateUsers < ActiveRecord::Migration[8.0]
def change
create_table :users do |t|
t.string :email
t.string :password_digest
t.timestamps
end
add_index :users, :email, unique: true
end
end