#1 順番修正
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
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
|
||||
Reference in New Issue
Block a user