From ac44ef847b6a9df5a99f1fbdbdd448711a3dce7e Mon Sep 17 00:00:00 2001 From: Kat Date: Wed, 14 Dec 2022 14:42:38 +0000 Subject: [PATCH] Update schema --- db/migrate/20221214110208_add_ecstat3_to_sales.rb | 3 +++ db/schema.rb | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/db/migrate/20221214110208_add_ecstat3_to_sales.rb b/db/migrate/20221214110208_add_ecstat3_to_sales.rb index 424c336a0..c76f279b7 100644 --- a/db/migrate/20221214110208_add_ecstat3_to_sales.rb +++ b/db/migrate/20221214110208_add_ecstat3_to_sales.rb @@ -2,6 +2,9 @@ class AddEcstat3ToSales < ActiveRecord::Migration[7.0] def change change_table :sales_logs, bulk: true do |t| t.column :ecstat3, :integer + t.column :ecstat4, :integer + t.column :ecstat5, :integer + t.column :ecstat6, :integer end end end diff --git a/db/schema.rb b/db/schema.rb index 26325c5c7..393022fd0 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -410,8 +410,11 @@ ActiveRecord::Schema[7.0].define(version: 2022_12_14_110208) do t.integer "mortgage" t.integer "inc2mort" t.integer "mortgage_value_check" - t.integer "ecstat3" t.bigint "updated_by_id" + t.integer "ecstat3" + t.integer "ecstat4" + t.integer "ecstat5" + t.integer "ecstat6" 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"