mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-05 02:41:33 +00:00
Adding standing orders feature toggle column to enterprises table
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class AddEnableStandingOrdersToEnterprises < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :enterprises, :enable_standing_orders, :boolean, default: false, null: false
|
||||
end
|
||||
end
|
||||
@@ -248,6 +248,7 @@ ActiveRecord::Schema.define(:version => 20170921065259) do
|
||||
t.boolean "display_invoice_logo", :default => false
|
||||
t.boolean "allow_order_changes", :default => false, :null => false
|
||||
t.string "contact_name"
|
||||
t.boolean "enable_standing_orders", :default => false, :null => false
|
||||
end
|
||||
|
||||
add_index "enterprises", ["address_id"], :name => "index_enterprises_on_address_id"
|
||||
|
||||
Reference in New Issue
Block a user