Adding name and display_as fields to variants

This commit is contained in:
Rob H
2014-06-04 15:21:31 +10:00
committed by Will Marshall
parent 1a91b5a728
commit 248c38fd2c
2 changed files with 7 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
class AddNameAndDisplayAsToSpreeVariants < ActiveRecord::Migration
def change
add_column :spree_variants, :name, :string
add_column :spree_variants, :display_as, :string
end
end

View File

@@ -963,6 +963,7 @@ ActiveRecord::Schema.define(:version => 20140604051248) do
t.float "unit_value"
t.string "unit_description", :default => ""
t.string "display_name"
t.string "name"
t.string "display_as"
end