mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-10 23:07:47 +00:00
Change variant name to display name
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
class AddDisplayNameAndDisplayAsToSpreeVariants < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :spree_variants, :display_name, :string
|
||||
add_column :spree_variants, :display_as, :string
|
||||
end
|
||||
end
|
||||
@@ -1,6 +0,0 @@
|
||||
class AddNameAndDisplayAsToSpreeVariants < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :spree_variants, :name, :string
|
||||
add_column :spree_variants, :display_as, :string
|
||||
end
|
||||
end
|
||||
@@ -962,7 +962,7 @@ ActiveRecord::Schema.define(:version => 20140604051248) do
|
||||
t.string "cost_currency"
|
||||
t.float "unit_value"
|
||||
t.string "unit_description", :default => ""
|
||||
t.string "name"
|
||||
t.string "display_name"
|
||||
t.string "display_as"
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user