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 --- Gemfile.lock | 2 +- .../20171015171543_create_pokeviewer_revisions.pokeviewer.rb | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index be2a865..28066a4 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,6 +1,6 @@ GIT remote: https://github.com/hatkirby/pokeviewer.git - revision: b166b618d2f5e47d1755be55902a176555395de7 + revision: 39a065e9cabdff4d90025ac0090b64aea6941a9d specs: pokeviewer (0.1.0) activerecord-diff 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