Browse Source

add frombeds field

pull/1108/head
Kat 4 years ago
parent
commit
8ce71b30da
  1. 7
      db/migrate/20221220155625_add_from_beds_to_sales.rb
  2. 1
      db/schema.rb

7
db/migrate/20221220155625_add_from_beds_to_sales.rb

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

1
db/schema.rb

@ -415,6 +415,7 @@ ActiveRecord::Schema[7.0].define(version: 2022_12_20_174515) do
t.integer "ecstat4"
t.integer "ecstat5"
t.integer "ecstat6"
t.integer "frombeds"
t.integer "staircase"
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"

Loading…
Cancel
Save