Migrate many old moderation action posts to small actions

This commit is contained in:
Robin Ward
2015-07-28 17:35:33 -04:00
parent 33b03c1503
commit 212c0fd87b
3 changed files with 23 additions and 1 deletions

View File

@ -1,6 +1,6 @@
class CreateUserFieldOptions < ActiveRecord::Migration
def change
create_table :user_field_options do |t|
create_table :user_field_options, force: true do |t|
t.references :user_field, null: false
t.string :value, null: false
t.timestamps