1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-19 05:09:38 +02:00
Maybe/db/migrate/20240201184212_create_users.rb
2024-02-02 09:05:04 -06:00

13 lines
321 B
Ruby

class CreateUsers < ActiveRecord::Migration[7.2]
def change
create_table :users, id: :uuid do |t|
t.references :family, null: false, foreign_key: true, type: :uuid
t.string :first_name
t.string :last_name
t.string :email
t.string :password_digest
t.timestamps
end
end
end