2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-08-21 19:11:18 +08:00
discourse/db/migrate/20140925173220_create_user_fields.rb

9 lines
227 B
Ruby

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
t.timestamps null: false
end
end
end