diff --git a/db/migrate/20220920130518_add_joint_buyer_number_column.rb b/db/migrate/20220920130518_add_joint_buyer_number_column.rb new file mode 100644 index 000000000..5e8f5d20d --- /dev/null +++ b/db/migrate/20220920130518_add_joint_buyer_number_column.rb @@ -0,0 +1,5 @@ +class AddJointBuyerNumberColumn < ActiveRecord::Migration[7.0] + def change + add_column :sales_logs, :jointmore, :integer + end +end diff --git a/db/schema.rb b/db/schema.rb index a9dc61d03..27b896016 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -332,9 +332,10 @@ ActiveRecord::Schema[7.0].define(version: 2022_09_23_093628) do t.string "purchid" t.integer "type" t.integer "ownershipsch" - t.integer "jointpur" t.string "othtype" t.integer "beds" + t.integer "jointmore" + t.integer "jointpur" 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"