aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/migrations/valid_with_subdirectories/sub1/3_innocent_jointable.rb
blob: 8063bc0558913c31afe0337c6b535fd5ffad4251 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

class InnocentJointable < ActiveRecord::Migration::Current
  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