Browse Source

Add new organisation address fields to merge requests

pull/1602/head
Kat 3 years ago
parent
commit
80eb1acd63
  1. 9
      db/migrate/20230504111352_add_new_organisation_address.rb
  2. 5
      db/schema.rb

9
db/migrate/20230504111352_add_new_organisation_address.rb

@ -0,0 +1,9 @@
class AddNewOrganisationAddress < ActiveRecord::Migration[7.0]
def change
change_table :merge_requests, bulk: true do |t|
t.column :new_organisation_address_line1, :string
t.column :new_organisation_address_line2, :string
t.column :new_organisation_postcode, :string
end
end
end

5
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_05_02_135049) do
ActiveRecord::Schema[7.0].define(version: 2023_05_04_111352) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -372,6 +372,9 @@ ActiveRecord::Schema[7.0].define(version: 2023_05_02_135049) do
t.boolean "telephone_number_correct"
t.string "new_telephone_number"
t.string "new_organisation_name"
t.string "new_organisation_address_line1"
t.string "new_organisation_address_line2"
t.string "new_organisation_postcode"
end
create_table "organisation_relationships", force: :cascade do |t|

Loading…
Cancel
Save