aboutsummaryrefslogblamecommitdiffstats
path: root/activerecord/test/migrations/valid/3_innocent_jointable.rb
blob: 21c9ca532858e2e786e9789ecd9676f6e3a8ccbd (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                         
class InnocentJointable < ActiveRecord::Migration
  def self.up
    create_table("people_reminders", :id => false) do |t|
      t.column :reminder_id, :integer
      t.column :person_id, :integer
    end
  end

  def self.down
    drop_table "people_reminders"
  end
end