diff --git a/db/migrate/20141023050324_add_producer_profile_only_to_enterprises.rb b/db/migrate/20141023050324_add_producer_profile_only_to_enterprises.rb new file mode 100644 index 0000000000..fb73d123f8 --- /dev/null +++ b/db/migrate/20141023050324_add_producer_profile_only_to_enterprises.rb @@ -0,0 +1,5 @@ +class AddProducerProfileOnlyToEnterprises < ActiveRecord::Migration + def change + add_column :enterprises, :producer_profile_only, :boolean, default: false + end +end diff --git a/db/schema.rb b/db/schema.rb index 3c1fb143e4..a3245f549e 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -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"