diff --git a/db/migrate/20221220155625_add_from_beds_to_sales.rb b/db/migrate/20221220155625_add_from_beds_to_sales.rb new file mode 100644 index 000000000..462d7ba7d --- /dev/null +++ b/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 diff --git a/db/schema.rb b/db/schema.rb index 2246c8690..774735d7a 100644 --- a/db/schema.rb +++ b/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"