discourse/db/migrate/20150727193414_create_user_field_options.rb

10 lines
258 B
Ruby
Raw Normal View History

class CreateUserFieldOptions < ActiveRecord::Migration[4.2]
def change
create_table :user_field_options, force: true do |t|
t.references :user_field, null: false
t.string :value, null: false
2017-08-07 23:48:36 +08:00
t.timestamps null: false
end
end
end