diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-10-15 14:00:24 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-10-15 14:00:24 -0400 |
commit | 23be60788864b1c47c06dffc1e647a5c29793ca0 (patch) | |
tree | 3fea5dadb737bdab97b77f219921e86c316c929d | |
parent | 9d6d876c62408c69c654aab1a664f1294ec668b7 (diff) | |
download | thoughts-23be60788864b1c47c06dffc1e647a5c29793ca0.tar.gz thoughts-23be60788864b1c47c06dffc1e647a5c29793ca0.tar.bz2 thoughts-23be60788864b1c47c06dffc1e647a5c29793ca0.zip |
Fixed typo in some pokeviewer foreign keys
-rw-r--r-- | Gemfile.lock | 2 | ||||
-rw-r--r-- | db/migrate/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 @@ | |||
1 | GIT | 1 | GIT |
2 | remote: https://github.com/hatkirby/pokeviewer.git | 2 | remote: https://github.com/hatkirby/pokeviewer.git |
3 | revision: b166b618d2f5e47d1755be55902a176555395de7 | 3 | revision: 39a065e9cabdff4d90025ac0090b64aea6941a9d |
4 | specs: | 4 | specs: |
5 | pokeviewer (0.1.0) | 5 | pokeviewer (0.1.0) |
6 | activerecord-diff | 6 | 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] | |||
34 | 34 | ||
35 | add_index :pokeviewer_revisions, [:pokemon_id, :sequential_id], unique: true | 35 | add_index :pokeviewer_revisions, [:pokemon_id, :sequential_id], unique: true |
36 | 36 | ||
37 | add_foreign_key :pokeviewer_revisions, :pokewalker_pokemon, | 37 | add_foreign_key :pokeviewer_revisions, :pokeviewer_pokemon, |
38 | column: :pokemon_id | 38 | column: :pokemon_id |
39 | 39 | ||
40 | add_foreign_key :pokeviewer_revisions, :pokewalker_moves, | 40 | add_foreign_key :pokeviewer_revisions, :pokeviewer_moves, |
41 | column: :move_1_id | 41 | column: :move_1_id |
42 | 42 | ||
43 | add_foreign_key :pokeviewer_revisions, :pokewalker_moves, | 43 | add_foreign_key :pokeviewer_revisions, :pokeviewer_moves, |
44 | column: :move_2_id | 44 | column: :move_2_id |
45 | 45 | ||
46 | add_foreign_key :pokeviewer_revisions, :pokewalker_moves, | 46 | add_foreign_key :pokeviewer_revisions, :pokeviewer_moves, |
47 | column: :move_3_id | 47 | column: :move_3_id |
48 | 48 | ||
49 | add_foreign_key :pokeviewer_revisions, :pokewalker_moves, | 49 | add_foreign_key :pokeviewer_revisions, :pokeviewer_moves, |
50 | column: :move_4_id | 50 | column: :move_4_id |
51 | end | 51 | end |
52 | end | 52 | end |