diff --git a/db/migrate/20220920090554_add_other_outright_sale_field.rb b/db/migrate/20220920090554_add_other_outright_sale_field.rb new file mode 100644 index 000000000..c3bdf4860 --- /dev/null +++ b/db/migrate/20220920090554_add_other_outright_sale_field.rb @@ -0,0 +1,5 @@ +class AddOtherOutrightSaleField < ActiveRecord::Migration[7.0] + def change + add_column :sales_logs, :othtype, :string + end +end diff --git a/db/schema.rb b/db/schema.rb index 9b7b1b5f6..87714f00f 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -325,6 +325,7 @@ ActiveRecord::Schema[7.0].define(version: 2022_09_20_132907) do t.integer "type" t.integer "ownershipsch" t.integer "jointpur" + t.string "othtype" 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"