Sha256: 11ab455f32a1db7ab6f71dbdaccf2de7e52c57f1f11295950b719c87ab1dffc9
Contents?: true
Size: 435 Bytes
Versions: 20
Compression:
Stored size: 435 Bytes
Contents
class CreateActiveMailerTables < ActiveRecord::Migration def self.up create_table :email_users do |t| t.string :email_address t.timestamps end create_table :email_user_associations do |t| t.references :email_user t.string :emailable_type t.integer :emailable_id t.timestamps end end def self.down drop_table :email_users drop_table :email_user_associations end end
Version data entries
20 entries across 10 versions & 1 rubygems