discourse/db/migrate/20140925173220_create_user_fields.rb

10 lines
227 B
Ruby
Raw Normal View History

class CreateUserFields < ActiveRecord::Migration[4.2]
def change
create_table :user_fields do |t|
t.string :name, null: false
t.string :field_type, null: false
2017-08-07 23:48:36 +08:00
t.timestamps null: false
end
end
end