Sha256: e882afd63bc86c189b174208c0dd3cb92b87fa8663f83292cd1552fd307e4370

Contents?: true

Size: 287 Bytes

Versions: 5

Compression:

Stored size: 287 Bytes

Contents

class <%= migration_class_name %> < ActiveRecord::Migration<%= migration_version %>
  def change
    create_table :ahoy_messages do |t|
      t.references :user, polymorphic: true
      t.text :to
      t.string :mailer
      t.text :subject
      t.timestamp :sent_at
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ahoy_email-1.1.0 lib/generators/ahoy_email/templates/install.rb.tt
ahoy_email-1.0.3 lib/generators/ahoy_email/templates/install.rb.tt
ahoy_email-1.0.2 lib/generators/ahoy_email/templates/install.rb.tt
ahoy_email-1.0.1 lib/generators/ahoy_email/templates/install.rb.tt
ahoy_email-1.0.0 lib/generators/ahoy_email/templates/install.rb.tt