Browse Source

Add armed forces spouse column to the db

pull/1147/head
Kat 3 years ago
parent
commit
4a0c6e9e1e
  1. 7
      db/migrate/20230105103733_add_armed_forces_spouse.rb
  2. 3
      db/schema.rb

7
db/migrate/20230105103733_add_armed_forces_spouse.rb

@ -0,0 +1,7 @@
class AddArmedForcesSpouse < ActiveRecord::Migration[7.0]
def change
change_table :sales_logs, bulk: true do |t|
t.column :armedforcesspouse, :integer
end
end
end

3
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_01_04_164318) do
ActiveRecord::Schema[7.0].define(version: 2023_01_05_103733) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -460,6 +460,7 @@ ActiveRecord::Schema[7.0].define(version: 2023_01_04_164318) do
t.integer "hb"
t.integer "mortgageused"
t.integer "wchair"
t.integer "armedforcesspouse"
t.index ["created_by_id"], name: "index_sales_logs_on_created_by_id"
t.index ["managing_organisation_id"], name: "index_sales_logs_on_managing_organisation_id"
t.index ["owning_organisation_id"], name: "index_sales_logs_on_owning_organisation_id"

Loading…
Cancel
Save