2019-05-02 18:17:27 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-08-31 00:06:56 -04:00
|
|
|
class CreateUserFieldOptions < ActiveRecord::Migration[4.2]
|
2015-07-28 12:29:40 -04:00
|
|
|
def change
|
2015-07-28 17:35:33 -04:00
|
|
|
create_table :user_field_options, force: true do |t|
|
2015-07-28 12:29:40 -04:00
|
|
|
t.references :user_field, null: false
|
|
|
|
t.string :value, null: false
|
2017-08-07 11:48:36 -04:00
|
|
|
t.timestamps null: false
|
2015-07-28 12:29:40 -04:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|