Sha256: 3f4c3db466f58eb6d0c678731dc5254c94ecbd9dcf0f40f5144489ed53c1ad65
Contents?: true
Size: 496 Bytes
Versions: 8
Compression:
Stored size: 496 Bytes
Contents
class CreateEffectiveEmailTemplates < ActiveRecord::Migration[4.2] 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
8 entries across 8 versions & 1 rubygems