Add long description field to distributors and suppliers

This commit is contained in:
Rohan Mitchell
2012-10-10 11:50:04 +11:00
parent a31c5bbe46
commit d080aa49d5
2 changed files with 9 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
class AddLongDescriptionToDistributorsAndSuppliers < ActiveRecord::Migration
def change
add_column :distributors, :long_description, :text
add_column :suppliers, :long_description, :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 => 20121009232513) do
ActiveRecord::Schema.define(:version => 20121010004400) do
create_table "cms_blocks", :force => true do |t|
t.integer "page_id", :null => false
@@ -144,6 +144,7 @@ ActiveRecord::Schema.define(:version => 20121009232513) do
t.datetime "updated_at"
t.integer "pickup_address_id"
t.string "next_collection_at"
t.text "long_description"
end
create_table "product_distributions", :force => true do |t|
@@ -780,6 +781,7 @@ ActiveRecord::Schema.define(:version => 20121009232513) do
t.datetime "created_at"
t.datetime "updated_at"
t.integer "address_id"
t.text "long_description"
end
end