diff --git a/db/migrate/20230502135049_add_new_organisation_name.rb b/db/migrate/20230502135049_add_new_organisation_name.rb new file mode 100644 index 000000000..beb18d0e2 --- /dev/null +++ b/db/migrate/20230502135049_add_new_organisation_name.rb @@ -0,0 +1,5 @@ +class AddNewOrganisationName < ActiveRecord::Migration[7.0] + change_table :merge_requests, bulk: true do |t| + t.column :new_organisation_name, :string + end +end diff --git a/db/schema.rb b/db/schema.rb index 73956bd24..cbe185ed4 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: 2023_04_27_130334) do +ActiveRecord::Schema[7.0].define(version: 2023_05_02_135049) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -371,6 +371,7 @@ ActiveRecord::Schema[7.0].define(version: 2023_04_27_130334) do t.boolean "new_absorbing_organisation" t.boolean "telephone_number_correct" t.string "new_telephone_number" + t.string "new_organisation_name" end create_table "organisation_relationships", force: :cascade do |t|