Sha256: 0494f84d3c2be04a8eeeaaaee7a11e8ab41dab6e2726e6a347ee38b8f6e7e316

Contents?: true

Size: 287 Bytes

Versions: 34

Compression:

Stored size: 287 Bytes

Contents

class CreateMailTemplateFiles < ActiveRecord::Migration
  def self.up
    create_table :mail_template_files do |t|
      t.integer :mail_template_id
      t.string :file
      t.integer :size
      t.timestamps
    end
  end

  def self.down
    drop_table :mail_template_files
  end
end

Version data entries

34 entries across 17 versions & 1 rubygems

Version Path
mail_engine-0.1.5 db/migrate/20110217062316_create_mail_template_files.rb
mail_engine-0.1.5 test/dummy/db/migrate/20110217062316_create_mail_template_files.rb
mail_engine-0.1.4 db/migrate/20110217062316_create_mail_template_files.rb
mail_engine-0.1.4 test/dummy/db/migrate/20110217062316_create_mail_template_files.rb
mail_engine-0.1.3 db/migrate/20110217062316_create_mail_template_files.rb
mail_engine-0.1.3 test/dummy/db/migrate/20110217062316_create_mail_template_files.rb
mail_engine-0.1.2 db/migrate/20110217062316_create_mail_template_files.rb
mail_engine-0.1.2 test/dummy/db/migrate/20110217062316_create_mail_template_files.rb
mail_engine-0.1.1 test/dummy/db/migrate/20110217062316_create_mail_template_files.rb
mail_engine-0.1.1 db/migrate/20110217062316_create_mail_template_files.rb
mail_engine-0.1.0 db/migrate/20110217062316_create_mail_template_files.rb
mail_engine-0.1.0 test/dummy/db/migrate/20110217062316_create_mail_template_files.rb
mail_engine-0.0.1 db/migrate/20110217062316_create_mail_template_files.rb
mail_engine-0.0.1 test/dummy/db/migrate/20110217062316_create_mail_template_files.rb