diff --git a/db/migrate/20230320084057_add_student_not_child_value_check.rb b/db/migrate/20230320084057_add_student_not_child_value_check.rb new file mode 100644 index 000000000..ecd037368 --- /dev/null +++ b/db/migrate/20230320084057_add_student_not_child_value_check.rb @@ -0,0 +1,5 @@ +class AddStudentNotChildValueCheck < ActiveRecord::Migration[7.0] + def change + add_column :sales_logs, :student_not_child_value_check, :integer + end +end diff --git a/db/schema.rb b/db/schema.rb index 075cc4b5e..32d71dfeb 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_03_09_145740) do +ActiveRecord::Schema[7.0].define(version: 2023_03_20_084057) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -560,7 +560,6 @@ ActiveRecord::Schema[7.0].define(version: 2023_03_09_145740) do t.integer "buy2living" t.integer "prevtenbuy2" t.integer "pregblank" - t.integer "nationalbuy2" t.string "uprn" t.integer "uprn_known" t.integer "uprn_confirmed" @@ -568,6 +567,8 @@ ActiveRecord::Schema[7.0].define(version: 2023_03_09_145740) do t.string "address_line2" t.string "town_or_city" t.string "county" + t.integer "nationalbuy2" + t.integer "student_not_child_value_check" t.index ["bulk_upload_id"], name: "index_sales_logs_on_bulk_upload_id" t.index ["created_by_id"], name: "index_sales_logs_on_created_by_id" t.index ["old_id"], name: "index_sales_logs_on_old_id", unique: true