Add distributor info field to enterprises

This commit is contained in:
Rohan Mitchell
2013-04-26 12:31:19 +10:00
parent 4900129511
commit 1b6bf6ca2b
3 changed files with 13 additions and 1 deletions

View File

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

View File

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

View File

@@ -0,0 +1,5 @@
class AddDistributorInfoToEnterprises < ActiveRecord::Migration
def change
add_column :enterprises, :distributor_info, :text
end
end