aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/migrations/missing/4_innocent_jointable.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/migrations/missing/4_innocent_jointable.rb')
-rw-r--r--activerecord/test/migrations/missing/4_innocent_jointable.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/activerecord/test/migrations/missing/4_innocent_jointable.rb b/activerecord/test/migrations/missing/4_innocent_jointable.rb
new file mode 100644
index 0000000000..8063bc0558
--- /dev/null
+++ b/activerecord/test/migrations/missing/4_innocent_jointable.rb
@@ -0,0 +1,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