Adding 'producer_profile_only' flag to enterprises

This commit is contained in:
Rob Harrington
2014-10-23 16:06:20 +11:00
parent d94ca0174a
commit 996b2f2604
2 changed files with 7 additions and 1 deletions

View File

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

View File

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