Sha256: 5512e601917726679ecaa933b111a7f95fdd3ad0dccb6deab08baa58ecbe286f

Contents?: true

Size: 292 Bytes

Versions: 12

Compression:

Stored size: 292 Bytes

Contents

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

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
ahoy_email-2.4.0 lib/generators/ahoy/messages/templates/migration.rb.tt
ahoy_email-2.3.1 lib/generators/ahoy/messages/templates/migration.rb.tt
ahoy_email-2.3.0 lib/generators/ahoy/messages/templates/migration.rb.tt
ahoy_email-2.2.0 lib/generators/ahoy/messages/templates/migration.rb.tt
ahoy_email-2.1.3 lib/generators/ahoy/messages/templates/migration.rb.tt
ahoy_email-2.1.2 lib/generators/ahoy/messages/templates/migration.rb.tt
ahoy_email-2.1.1 lib/generators/ahoy/messages/templates/migration.rb.tt
ahoy_email-2.1.0 lib/generators/ahoy/messages/templates/migration.rb.tt
ahoy_email-2.0.3 lib/generators/ahoy/messages/templates/migration.rb.tt
ahoy_email-2.0.2 lib/generators/ahoy/messages/templates/migration.rb.tt
ahoy_email-2.0.1 lib/generators/ahoy/messages/templates/migration.rb.tt
ahoy_email-2.0.0 lib/generators/ahoy/messages/templates/migration.rb.tt