Browse Source

Add other type column

pull/884/head
Kat 3 years ago
parent
commit
b9539ffc86
  1. 5
      db/migrate/20220920090554_add_other_outright_sale_field.rb
  2. 1
      db/schema.rb

5
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

1
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"

Loading…
Cancel
Save