Files
btrc-hub/backend/db/migrate/20250227211300_create_users.rb
2025-02-27 22:09:51 +09:00

12 lines
319 B
Ruby

class CreateUsers < ActiveRecord::Migration[7.0]
def change
create_table :users do |t|
t.string :name, limit: 255
t.string :inheritance_code, limit: 64, null: false
t.string :role, limit: 255, null: false
t.boolean :banned, default: false, null: false
t.timestamps
end
end
end