mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-01 02:03:22 +00:00
Remove obsolete subscription fields from order cycles table
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
class RemovePlacedAtAndConfirmedAtFromOrderCycles < ActiveRecord::Migration
|
||||
def up
|
||||
remove_column :order_cycles, :standing_orders_placed_at
|
||||
remove_column :order_cycles, :standing_orders_confirmed_at
|
||||
end
|
||||
|
||||
def down
|
||||
add_column :order_cycles, :standing_orders_placed_at, :datetime
|
||||
add_column :order_cycles, :standing_orders_confirmed_at, :datetime
|
||||
end
|
||||
end
|
||||
@@ -11,7 +11,7 @@
|
||||
#
|
||||
# It's strongly recommended to check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(:version => 20180222231639) do
|
||||
ActiveRecord::Schema.define(:version => 20180316034336) do
|
||||
|
||||
create_table "account_invoices", :force => true do |t|
|
||||
t.integer "user_id", :null => false
|
||||
@@ -319,10 +319,8 @@ ActiveRecord::Schema.define(:version => 20180222231639) do
|
||||
t.datetime "orders_open_at"
|
||||
t.datetime "orders_close_at"
|
||||
t.integer "coordinator_id"
|
||||
t.datetime "created_at", :null => false
|
||||
t.datetime "updated_at", :null => false
|
||||
t.datetime "standing_orders_placed_at"
|
||||
t.datetime "standing_orders_confirmed_at"
|
||||
t.datetime "created_at", :null => false
|
||||
t.datetime "updated_at", :null => false
|
||||
end
|
||||
|
||||
create_table "producer_properties", :force => true do |t|
|
||||
|
||||
Reference in New Issue
Block a user