install mailkick gem
this gem is used to allow users to unsubscribe from the invitation email
This commit is contained in:
parent
9cc74e051c
commit
f1386c30a7
5 changed files with 35 additions and 1 deletions
14
db/migrate/20190721210158_install_mailkick.rb
Normal file
14
db/migrate/20190721210158_install_mailkick.rb
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
class InstallMailkick < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
create_table :mailkick_opt_outs do |t|
|
||||
t.string :email
|
||||
t.references :user, polymorphic: true
|
||||
t.boolean :active, null: false, default: true
|
||||
t.string :reason
|
||||
t.string :list
|
||||
t.timestamps
|
||||
end
|
||||
|
||||
add_index :mailkick_opt_outs, :email
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue