lib/generators/mailkick/templates/install.rb in mailkick-0.0.2 vs lib/generators/mailkick/templates/install.rb in mailkick-0.0.3
- old
+ new
@@ -4,9 +4,10 @@
t.string :email
t.integer :user_id
t.string :user_type
t.boolean :active, null: false, default: true
t.string :reason
+ t.string :list
t.timestamps
end
add_index :mailkick_opt_outs, :email
add_index :mailkick_opt_outs, [:user_id, :user_type]