hi, im getting the error outlined in the subject. this is the migration:
add_column :tier_3_discount_groups, :description, :text unless
Tier3DiscountGroup.column_names.include?(‘description’)
here is the model:
filename:
tier_3_discount_group.rb
content:
class Tier3DiscountGroup < ActiveRecord::Base
end
create-migration:
filename:
20141209204148_create_tier_3_discountount_groups.rb
content:
class CreateTier3DiscountountGroups < ActiveRecord::Migration
def change
create_table :tier_3_discountount_groups do |t|
t.string :name
t.timestamps
end
end
end
where is my mistake?
thx