Sha256: f706716a71b9de1854aa0413e3ff6a98eff1cfb7218daa5651b93246e9b45d6b

Contents?: true

Size: 629 Bytes

Versions: 1

Compression:

Stored size: 629 Bytes

Contents

class CreateEmailTemplates < ActiveRecord::Migration
  def change
    create_table :restpack_email_templates do |t|
      t.integer :application_id,    :null => false
      t.integer :domain_id
      t.string  :identifier,        :null => false, :limit => 256
      t.string  :from,                                  :limit => 512
      t.string  :subject_template,  :null => false, :limit => 256
      t.string  :text_template,                         :limit => 65536
      t.string  :html_template,                         :limit => 65536
      t.json    :data,              :null => false

      t.timestamps
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
restpack_email_service-0.0.2 db/migrate/20131012115851_create_email_templates.rb