Sha256: 72bf8096a5a81325e3c2045a5699c3602fb75f60d3820755ab187a2c2949438a

Contents?: true

Size: 440 Bytes

Versions: 21

Compression:

Stored size: 440 Bytes

Contents

class CreateEffectiveEmailTemplates < ActiveRecord::Migration[4.2]
  def self.up
    create_table <%= @email_templates_table_name %> do |t|
      t.string    :template_name

      t.string    :subject
      t.string    :from
      t.string    :bcc
      t.string    :cc

      t.string    :content_type
      t.text      :body

      t.timestamps
    end

  end

  def self.down
    drop_table <%= @email_templates_table_name %>
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
effective_email_templates-1.3.0 db/migrate/01_create_effective_email_templates.rb.erb
effective_email_templates-1.2.3 db/migrate/01_create_effective_email_templates.rb.erb
effective_email_templates-1.2.2 db/migrate/01_create_effective_email_templates.rb.erb
effective_email_templates-1.2.1 db/migrate/01_create_effective_email_templates.rb.erb
effective_email_templates-1.2.0 db/migrate/01_create_effective_email_templates.rb.erb
effective_email_templates-1.1.4 db/migrate/01_create_effective_email_templates.rb.erb
effective_email_templates-1.1.3 db/migrate/01_create_effective_email_templates.rb.erb
effective_email_templates-1.1.2 db/migrate/01_create_effective_email_templates.rb.erb
effective_email_templates-1.1.1 db/migrate/01_create_effective_email_templates.rb.erb
effective_email_templates-1.1.0 db/migrate/01_create_effective_email_templates.rb.erb
effective_email_templates-1.0.13 db/migrate/01_create_effective_email_templates.rb.erb
effective_email_templates-1.0.12 db/migrate/01_create_effective_email_templates.rb.erb
effective_email_templates-1.0.11 db/migrate/01_create_effective_email_templates.rb.erb
effective_email_templates-1.0.10 db/migrate/01_create_effective_email_templates.rb.erb
effective_email_templates-1.0.9 db/migrate/01_create_effective_email_templates.rb.erb
effective_email_templates-1.0.8 db/migrate/01_create_effective_email_templates.rb.erb
effective_email_templates-1.0.7 db/migrate/01_create_effective_email_templates.rb.erb
effective_email_templates-1.0.6 db/migrate/01_create_effective_email_templates.rb.erb
effective_email_templates-1.0.5 db/migrate/01_create_effective_email_templates.rb.erb
effective_email_templates-1.0.4 db/migrate/01_create_effective_email_templates.rb.erb