Generate scaffolding for user
All checks were successful
Ruby CI / test (pull_request) Successful in 24s

This commit is contained in:
Andrew Tomaka 2024-07-26 22:31:14 -04:00
parent a6eaa1b4cf
commit ba0343f6cb
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE
19 changed files with 306 additions and 1 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