mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Adding 'producer_profile_only' flag to enterprises
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class AddProducerProfileOnlyToEnterprises < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :enterprises, :producer_profile_only, :boolean, default: false
|
||||
end
|
||||
end
|
||||
@@ -11,7 +11,7 @@
|
||||
#
|
||||
# It's strongly recommended to check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(:version => 20141022050659) do
|
||||
ActiveRecord::Schema.define(:version => 20141023050324) do
|
||||
|
||||
create_table "adjustment_metadata", :force => true do |t|
|
||||
t.integer "adjustment_id"
|
||||
@@ -270,6 +270,7 @@ ActiveRecord::Schema.define(:version => 20141022050659) do
|
||||
t.datetime "confirmation_sent_at"
|
||||
t.string "unconfirmed_email"
|
||||
t.datetime "shop_trial_start_date"
|
||||
t.boolean "producer_profile_only", :default => false
|
||||
end
|
||||
|
||||
add_index "enterprises", ["address_id"], :name => "index_enterprises_on_address_id"
|
||||
|
||||
Reference in New Issue
Block a user