lib/generators/ahoy_email/templates/install.rb in ahoy_email-0.1.2 vs lib/generators/ahoy_email/templates/install.rb in ahoy_email-0.1.3
- old
+ new
@@ -2,14 +2,16 @@
def change
create_table :ahoy_messages do |t|
t.string :token
# user
+ t.text :to
t.integer :user_id
t.string :user_type
# optional
# feel free to remove
+ t.string :mailer
t.text :subject
t.text :content
# timestamps
t.timestamp :sent_at