From bb270d34c01282093e2ffe2729736071e6056f7f Mon Sep 17 00:00:00 2001 From: kosiakkatrina <54268893+kosiakkatrina@users.noreply.github.com> Date: Thu, 25 Jul 2024 12:24:56 +0100 Subject: [PATCH] Remove noint_fix_status from the database (#2508) --- db/migrate/20240715082338_remove_noint_fix_status.rb | 5 +++++ db/schema.rb | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 db/migrate/20240715082338_remove_noint_fix_status.rb diff --git a/db/migrate/20240715082338_remove_noint_fix_status.rb b/db/migrate/20240715082338_remove_noint_fix_status.rb new file mode 100644 index 000000000..e6b247361 --- /dev/null +++ b/db/migrate/20240715082338_remove_noint_fix_status.rb @@ -0,0 +1,5 @@ +class RemoveNointFixStatus < ActiveRecord::Migration[7.0] + def change + remove_column :bulk_uploads, :noint_fix_status, :string, default: "not_applied" + end +end diff --git a/db/schema.rb b/db/schema.rb index 8aeca4b3d..50073d2d6 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema[7.0].define(version: 2024_07_15_072421) do +ActiveRecord::Schema[7.0].define(version: 2024_07_15_082338) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -41,7 +41,6 @@ ActiveRecord::Schema[7.0].define(version: 2024_07_15_072421) do t.integer "needstype" t.text "choice" t.integer "total_logs_count" - t.string "noint_fix_status", default: "not_applied" t.string "rent_type_fix_status", default: "not_applied" t.index ["identifier"], name: "index_bulk_uploads_on_identifier", unique: true t.index ["user_id"], name: "index_bulk_uploads_on_user_id"