Sha256: 149042c2778219c8632da81537e46ef90e0d95dc63bf056b016ea6a8a0e8c8d5
Contents?: true
Size: 693 Bytes
Versions: 16
Compression:
Stored size: 693 Bytes
Contents
class CreateEmailTable < ActiveRecord::Migration def up create_table :core_system_email_translations, :force => true do |t| t.integer :core_system_email_id t.string :locale t.string :subject t.text :body t.datetime :created_at t.datetime :updated_at end create_table :core_system_emails, :force => true do |t| t.string :email_type t.references :emailable, :polymorphic => true t.datetime :created_at t.datetime :updated_at t.integer :account_id end end def down drop_table :core_system_emails drop_table :core_system_email_translations end end
Version data entries
16 entries across 16 versions & 1 rubygems