about summary refs log tree commit diff stats
path: root/db/migrate/20171015171543_create_pokeviewer_revisions.pokeviewer.rb
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2017-10-15 14:00:24 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2017-10-15 14:00:24 -0400
commit23be60788864b1c47c06dffc1e647a5c29793ca0 (patch)
tree3fea5dadb737bdab97b77f219921e86c316c929d /db/migrate/20171015171543_create_pokeviewer_revisions.pokeviewer.rb
parent9d6d876c62408c69c654aab1a664f1294ec668b7 (diff)
downloadthoughts-23be60788864b1c47c06dffc1e647a5c29793ca0.tar.gz
thoughts-23be60788864b1c47c06dffc1e647a5c29793ca0.tar.bz2
thoughts-23be60788864b1c47c06dffc1e647a5c29793ca0.zip
Fixed typo in some pokeviewer foreign keys
Diffstat (limited to 'db/migrate/20171015171543_create_pokeviewer_revisions.pokeviewer.rb')
-rw-r--r--db/migrate/20171015171543_create_pokeviewer_revisions.pokeviewer.rb10
1 files changed, 5 insertions, 5 deletions
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
52end 52end