cirandas.net

ref: master

db/migrate/20100909103951_create_mailing_sents.rb


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
class CreateMailingSents < ActiveRecord::Migration
  def self.up
    create_table :mailing_sents do |t|
      t.references :mailing
      t.references :person
      t.timestamps
    end
  end

  def self.down
    drop_table :mailing_sents
  end
end