This commit is contained in:
vilet.yy 2021-05-31 18:46:39 +08:00 committed by viletyy
parent 86f0f2051d
commit dc91cd4346
1 changed files with 1 additions and 1 deletions

View File

@ -3,6 +3,6 @@ class AddFieldsToUserExtensions < ActiveRecord::Migration[5.2]
add_column :user_extensions, :province, :string # 省份 add_column :user_extensions, :province, :string # 省份
add_column :user_extensions, :city, :string # 城市 add_column :user_extensions, :city, :string # 城市
add_column :user_extensions, :custom_department, :string #自己填写的单位名称 add_column :user_extensions, :custom_department, :string #自己填写的单位名称
remove_column :users, :description # remove_column :users, :description
end end
end end