mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 09:17:30 +08:00
10 lines
210 B
Ruby
10 lines
210 B
Ruby
class CreateUserFields < ActiveRecord::Migration
|
|
def change
|
|
create_table :user_fields do |t|
|
|
t.string :name, null: false
|
|
t.string :field_type, null: false
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|