Sha256: 3bdbd5d12b835e596e853ac5edf7670da87ee50c1829cad17f0f0a08a3cbe9ec

Contents?: true

Size: 421 Bytes

Versions: 11

Compression:

Stored size: 421 Bytes

Contents

class <%= migration_class_name %> < ActiveRecord::Migration
  def self.up
    create_table :email_templates do |t|
      t.timestamps
      t.string :from_email
      t.string :from_name
      t.string :bcc
      t.string :reply_to
      t.string :body
      t.string :template_type
      t.boolean :send_via_mandrill, :default => false, :null => false
    end
  end

  def down
    drop_table :email_templates
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
no_notifier_needed-2.3.0 lib/generators/no_notifier_needed/templates/install.rb
no_notifier_needed-2.2.4 lib/generators/no_notifier_needed/templates/install.rb
no_notifier_needed-2.2.3 lib/generators/no_notifier_needed/templates/install.rb
no_notifier_needed-2.2.2 lib/generators/no_notifier_needed/templates/install.rb
no_notifier_needed-2.2.1 lib/generators/no_notifier_needed/templates/install.rb
no_notifier_needed-2.2.0 lib/generators/no_notifier_needed/templates/install.rb
no_notifier_needed-2.1.0 lib/generators/no_notifier_needed/templates/install.rb
no_notifier_needed-2.0.17 lib/generators/no_notifier_needed/templates/install.rb
no_notifier_needed-2.0.16 lib/generators/no_notifier_needed/templates/install.rb
no_notifier_needed-2.0.15 lib/generators/no_notifier_needed/templates/install.rb
no_notifier_needed-2.0.14 lib/generators/no_notifier_needed/templates/install.rb