From 23be60788864b1c47c06dffc1e647a5c29793ca0 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sun, 15 Oct 2017 14:00:24 -0400 Subject: Fixed typo in some pokeviewer foreign keys --- .../20171015171543_create_pokeviewer_revisions.pokeviewer.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'db') diff --git a/db/migrate/20171015171543_create_pokeviewer_revisions.pokeviewer.rb b/db/migrate/20171015171543_create_pokeviewer_revisions.pokeviewer.rb index c44c227..330bb90 100644 --- a/db/migrate/20171015171543_create_pokeviewer_revisions.pokeviewer.rb +++ b/db/migrate/20171015171543_create_pokeviewer_revisions.pokeviewer.rb @@ -34,19 +34,19 @@ class CreatePokeviewerRevisions < ActiveRecord::Migration[5.1] add_index :pokeviewer_revisions, [:pokemon_id, :sequential_id], unique: true - add_foreign_key :pokeviewer_revisions, :pokewalker_pokemon, + add_foreign_key :pokeviewer_revisions, :pokeviewer_pokemon, column: :pokemon_id - add_foreign_key :pokeviewer_revisions, :pokewalker_moves, + add_foreign_key :pokeviewer_revisions, :pokeviewer_moves, column: :move_1_id - add_foreign_key :pokeviewer_revisions, :pokewalker_moves, + add_foreign_key :pokeviewer_revisions, :pokeviewer_moves, column: :move_2_id - add_foreign_key :pokeviewer_revisions, :pokewalker_moves, + add_foreign_key :pokeviewer_revisions, :pokeviewer_moves, column: :move_3_id - add_foreign_key :pokeviewer_revisions, :pokewalker_moves, + add_foreign_key :pokeviewer_revisions, :pokeviewer_moves, column: :move_4_id end end -- cgit 1.4.1