Adding shop_trial_start_date column to enterprises

This commit is contained in:
Rob Harrington
2014-10-22 16:11:51 +11:00
parent ecaa2e6a51
commit 82d33332ab
2 changed files with 8 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
class AddShopTrialStartDateToEnterprises < ActiveRecord::Migration
def change
add_column :enterprises, :shop_trial_start_date, :datetime, default: nil
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 => 20141010043405) do
ActiveRecord::Schema.define(:version => 20141022050659) do
create_table "adjustment_metadata", :force => true do |t|
t.integer "adjustment_id"
@@ -264,11 +264,12 @@ ActiveRecord::Schema.define(:version => 20141010043405) do
t.string "instagram"
t.string "linkedin"
t.integer "owner_id", :null => false
t.string "sells", :default => "none", :null => false
t.string "confirmation_token"
t.datetime "confirmed_at"
t.datetime "confirmation_sent_at"
t.string "unconfirmed_email"
t.string "sells", :default => "none", :null => false
t.datetime "shop_trial_start_date"
end
add_index "enterprises", ["address_id"], :name => "index_enterprises_on_address_id"