Add authentication

This commit is contained in:
2025-06-11 18:08:24 +02:00
parent f8523fc3eb
commit 16b27a0d1c
24 changed files with 276 additions and 22 deletions

View File

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