Adding notes field to products

This commit is contained in:
Will Marshall
2014-02-04 14:11:32 +11:00
parent a2e396694b
commit 2bb004ebaa
6 changed files with 28 additions and 3 deletions

View File

@@ -0,0 +1,5 @@
class AddNotesToProducts < ActiveRecord::Migration
def change
add_column :spree_products, :notes, :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 => 20140121050239) do
ActiveRecord::Schema.define(:version => 20140204011203) do
create_table "adjustment_metadata", :force => true do |t|
t.integer "adjustment_id"
@@ -622,6 +622,7 @@ ActiveRecord::Schema.define(:version => 20140121050239) do
t.string "variant_unit"
t.float "variant_unit_scale"
t.string "variant_unit_name"
t.text "notes"
end
add_index "spree_products", ["available_on"], :name => "index_products_on_available_on"