[deploy] Remove group column from profile_fields (#10046)

This commit is contained in:
Michael Kohl 2020-08-31 21:18:13 +07:00 committed by GitHub
parent 1a147a3176
commit ce9ed24090
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View file

@ -0,0 +1,5 @@
class RemoveGroupFromProfileFields < ActiveRecord::Migration[6.0]
def change
safety_assured { remove_column :profile_fields, :group }
end
end

View file

@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 2020_08_28_032013) do
ActiveRecord::Schema.define(version: 2020_08_28_045600) do
# These are extensions that must be enabled in order to support this database
enable_extension "citext"
@ -945,7 +945,6 @@ ActiveRecord::Schema.define(version: 2020_08_28_032013) do
t.datetime "created_at", precision: 6, null: false
t.string "description"
t.integer "display_area", default: 1, null: false
t.string "group"
t.integer "input_type", default: 0, null: false
t.citext "label", null: false
t.string "placeholder_text"