diff --git a/db/migrate/20130426023034_add_distributor_info_to_enterprises.enterprises_distributor_info_rich_text_feature.rb b/db/migrate/20130426023034_add_distributor_info_to_enterprises.enterprises_distributor_info_rich_text_feature.rb new file mode 100644 index 0000000000..69a6b9981e --- /dev/null +++ b/db/migrate/20130426023034_add_distributor_info_to_enterprises.enterprises_distributor_info_rich_text_feature.rb @@ -0,0 +1,6 @@ +# This migration comes from enterprises_distributor_info_rich_text_feature (originally 20130426022945) +class AddDistributorInfoToEnterprises < ActiveRecord::Migration + def change + add_column :enterprises, :distributor_info, :text + end +end diff --git a/db/schema.rb b/db/schema.rb index a03ce1b6eb..ad3ff4995c 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 => 20130118031610) do +ActiveRecord::Schema.define(:version => 20130426023034) do create_table "cms_blocks", :force => true do |t| t.integer "page_id", :null => false @@ -156,6 +156,7 @@ ActiveRecord::Schema.define(:version => 20130118031610) do t.string "next_collection_at" t.datetime "created_at", :null => false t.datetime "updated_at", :null => false + t.text "distributor_info" end create_table "exchange_fees", :force => true do |t| diff --git a/lib/chili/enterprises_distributor_info_rich_text_feature/db/migrate/20130426022945_add_distributor_info_to_enterprises.rb b/lib/chili/enterprises_distributor_info_rich_text_feature/db/migrate/20130426022945_add_distributor_info_to_enterprises.rb new file mode 100644 index 0000000000..7342726a92 --- /dev/null +++ b/lib/chili/enterprises_distributor_info_rich_text_feature/db/migrate/20130426022945_add_distributor_info_to_enterprises.rb @@ -0,0 +1,5 @@ +class AddDistributorInfoToEnterprises < ActiveRecord::Migration + def change + add_column :enterprises, :distributor_info, :text + end +end