Sha256: 894ddf8960c55564b5643299bce36ab815e822bf34ce57a62f3f031acb826391
Contents?: true
Size: 491 Bytes
Versions: 9
Compression:
Stored size: 491 Bytes
Contents
class CreateEffectiveEmailTemplates < ActiveRecord::Migration def self.up create_table <%= @email_templates_table_name %> do |t| t.string :subject t.string :from t.string :bcc t.string :cc t.string :slug, :null => false t.text :body, :null => false t.text :template, :null => false end add_index <%= @email_templates_table_name %>, :slug end def self.down drop_table <%= @email_templates_table_name %> end end
Version data entries
9 entries across 9 versions & 1 rubygems