lib/generators/e9_crm/templates/migration.rb in e9_crm-0.1.29 vs lib/generators/e9_crm/templates/migration.rb in e9_crm-0.1.30
- old
+ new
@@ -54,10 +54,10 @@
create_table :campaigns, :force => true do |t|
t.string :type
t.string :name
t.references :campaign_group, :affiliate, :sales_person
t.string :code, :limit => 32
- t.integer :affiliate_fee, :sales_fee, :new_visits, :repeat_visits, :default => 0
+ t.integer :affiliate_fee, :sales_fee, :default => 0
t.boolean :active, :default => true
t.timestamps
end
add_index 'campaigns', 'campaign_group_id'
add_index 'campaigns', 'code'