diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-10-15 13:59:35 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-10-15 13:59:35 -0400 |
commit | 39a065e9cabdff4d90025ac0090b64aea6941a9d (patch) | |
tree | fc272195d5d5951a8a8a6589ab1ae654714956fa /db | |
parent | b166b618d2f5e47d1755be55902a176555395de7 (diff) | |
download | pokeviewer-39a065e9cabdff4d90025ac0090b64aea6941a9d.tar.gz pokeviewer-39a065e9cabdff4d90025ac0090b64aea6941a9d.tar.bz2 pokeviewer-39a065e9cabdff4d90025ac0090b64aea6941a9d.zip |
Fixed typo in some foreign keys
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20170917011258_create_pokeviewer_revisions.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/db/migrate/20170917011258_create_pokeviewer_revisions.rb b/db/migrate/20170917011258_create_pokeviewer_revisions.rb index faa3532..4733303 100644 --- a/db/migrate/20170917011258_create_pokeviewer_revisions.rb +++ b/db/migrate/20170917011258_create_pokeviewer_revisions.rb | |||
@@ -33,19 +33,19 @@ class CreatePokeviewerRevisions < ActiveRecord::Migration[5.1] | |||
33 | 33 | ||
34 | add_index :pokeviewer_revisions, [:pokemon_id, :sequential_id], unique: true | 34 | add_index :pokeviewer_revisions, [:pokemon_id, :sequential_id], unique: true |
35 | 35 | ||
36 | add_foreign_key :pokeviewer_revisions, :pokewalker_pokemon, | 36 | add_foreign_key :pokeviewer_revisions, :pokeviewer_pokemon, |
37 | column: :pokemon_id | 37 | column: :pokemon_id |
38 | 38 | ||
39 | add_foreign_key :pokeviewer_revisions, :pokewalker_moves, | 39 | add_foreign_key :pokeviewer_revisions, :pokeviewer_moves, |
40 | column: :move_1_id | 40 | column: :move_1_id |
41 | 41 | ||
42 | add_foreign_key :pokeviewer_revisions, :pokewalker_moves, | 42 | add_foreign_key :pokeviewer_revisions, :pokeviewer_moves, |
43 | column: :move_2_id | 43 | column: :move_2_id |
44 | 44 | ||
45 | add_foreign_key :pokeviewer_revisions, :pokewalker_moves, | 45 | add_foreign_key :pokeviewer_revisions, :pokeviewer_moves, |
46 | column: :move_3_id | 46 | column: :move_3_id |
47 | 47 | ||
48 | add_foreign_key :pokeviewer_revisions, :pokewalker_moves, | 48 | add_foreign_key :pokeviewer_revisions, :pokeviewer_moves, |
49 | column: :move_4_id | 49 | column: :move_4_id |
50 | end | 50 | end |
51 | end | 51 | end |