Browse Source

Add student_not_child_value_check column

pull/1441/head
Kat 3 years ago
parent
commit
1fdd96276a
  1. 5
      db/migrate/20230320084057_add_student_not_child_value_check.rb
  2. 5
      db/schema.rb

5
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

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_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

Loading…
Cancel
Save