Browse Source

Add fromprop field to the sales log

pull/1159/head
Kat 3 years ago
parent
commit
8e678d1beb
  1. 7
      db/migrate/20230109124623_add_fromprop_to_sales.rb
  2. 1
      db/schema.rb

7
db/migrate/20230109124623_add_fromprop_to_sales.rb

@ -0,0 +1,7 @@
class AddFrompropToSales < ActiveRecord::Migration[7.0]
def change
change_table :sales_logs, bulk: true do |t|
t.column :fromprop, :integer
end
end
end

1
db/schema.rb

@ -471,6 +471,7 @@ ActiveRecord::Schema[7.0].define(version: 2023_01_09_160738) do
t.integer "hoday" t.integer "hoday"
t.integer "homonth" t.integer "homonth"
t.integer "hoyear" t.integer "hoyear"
t.integer "fromprop"
t.index ["created_by_id"], name: "index_sales_logs_on_created_by_id" 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 ["managing_organisation_id"], name: "index_sales_logs_on_managing_organisation_id"
t.index ["owning_organisation_id"], name: "index_sales_logs_on_owning_organisation_id" t.index ["owning_organisation_id"], name: "index_sales_logs_on_owning_organisation_id"

Loading…
Cancel
Save