mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Add long description field to distributors and suppliers
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
class AddLongDescriptionToDistributorsAndSuppliers < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :distributors, :long_description, :text
|
||||
add_column :suppliers, :long_description, :text
|
||||
end
|
||||
end
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user