Big first commit
authentication-zero and first layout
This commit is contained in:
12
db/migrate/20260520205214_create_users.rb
Normal file
12
db/migrate/20260520205214_create_users.rb
Normal file
@@ -0,0 +1,12 @@
|
||||
class CreateUsers < ActiveRecord::Migration[8.1]
|
||||
def change
|
||||
create_table :users do |t|
|
||||
t.string :email, null: false, index: { unique: true }
|
||||
t.string :password_digest, null: false
|
||||
|
||||
t.boolean :verified, null: false, default: false
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user