Sha256: 682967a496d316ed9ce205c29e702a2f2a54c4a29f6fb7e713b298471ffb22ab

Contents?: true

Size: 403 Bytes

Versions: 13

Compression:

Stored size: 403 Bytes

Contents

class CreateEmailTemplates < ActiveRecord::Migration[4.2]
  def up
    create_table Fe::EmailTemplate.table_name do |t|
      t.string  :name, limit: 1000, null: false
      t.text    :content
      t.boolean :enabled
      t.string  :subject
      
      t.timestamps
    end
    # add_index Fe::EmailTemplate.table_name, :name
  end

  def down
    remove_table Fe::EmailTemplate.table_name
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
fe-2.1.5 db/migrate/20131003044518_create_email_templates.rb
fe-2.1.4 db/migrate/20131003044518_create_email_templates.rb
fe-2.1.3 db/migrate/20131003044518_create_email_templates.rb
fe-2.1.2 db/migrate/20131003044518_create_email_templates.rb
fe-2.1.1 db/migrate/20131003044518_create_email_templates.rb
fe-2.0.8 db/migrate/20131003044518_create_email_templates.rb
fe-2.0.6 db/migrate/20131003044518_create_email_templates.rb
fe-2.0.5 db/migrate/20131003044518_create_email_templates.rb
fe-2.0.4 db/migrate/20131003044518_create_email_templates.rb
fe-2.0.3 db/migrate/20131003044518_create_email_templates.rb
fe-2.0.2 db/migrate/20131003044518_create_email_templates.rb
fe-2.0.1 db/migrate/20131003044518_create_email_templates.rb
fe-2.0.0 db/migrate/20131003044518_create_email_templates.rb