Adding standing orders feature toggle column to enterprises table

This commit is contained in:
Rob Harrington
2016-12-15 15:55:36 +11:00
parent c819197d07
commit e7b8648792
2 changed files with 6 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
class AddEnableStandingOrdersToEnterprises < ActiveRecord::Migration
def change
add_column :enterprises, :enable_standing_orders, :boolean, default: false, null: false
end
end

View File

@@ -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"