parent
f310d59568
commit
d4b3a83681
@ -0,0 +1,7 @@
|
||||
class AddEmailToRecipient < ActiveRecord::Migration[5.0]
|
||||
def change
|
||||
add_column :recipients, :email, :string
|
||||
add_column :recipients, :slug, :string
|
||||
add_index :recipients, :slug, unique: true
|
||||
end
|
||||
end
|
||||
@ -0,0 +1,6 @@
|
||||
class AddCountersToRecipient < ActiveRecord::Migration[5.0]
|
||||
def change
|
||||
add_column :recipients, :attempts_count, :integer, default: 0
|
||||
add_column :recipients, :responses_count, :integer, default: 0
|
||||
end
|
||||
end
|
||||
Loading…
Reference in new issue