2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-10-03 17:21:20 +08:00
discourse/db/migrate/20150727193414_create_user_field_options.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
289 B
Ruby
Raw Permalink Normal View History

# frozen_string_literal: true
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-08 00:48:36 +09:00
t.timestamps null: false
end
end
end