diff options
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20180129213822_create_pokeviewer_pokedex_entries.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20180129213822_create_pokeviewer_pokedex_entries.rb b/db/migrate/20180129213822_create_pokeviewer_pokedex_entries.rb index 99ac4f6..8456456 100644 --- a/db/migrate/20180129213822_create_pokeviewer_pokedex_entries.rb +++ b/db/migrate/20180129213822_create_pokeviewer_pokedex_entries.rb | |||
@@ -8,7 +8,7 @@ class CreatePokeviewerPokedexEntries < ActiveRecord::Migration[5.1] | |||
8 | t.timestamps | 8 | t.timestamps |
9 | end | 9 | end |
10 | 10 | ||
11 | add_foreign_key :pokeviewer_pokedex_entries, :pokeviewer_trainer, | 11 | add_foreign_key :pokeviewer_pokedex_entries, :pokeviewer_trainers, |
12 | column: :trainer_id | 12 | column: :trainer_id |
13 | 13 | ||
14 | add_foreign_key :pokeviewer_pokedex_entries, :pokeviewer_species, | 14 | add_foreign_key :pokeviewer_pokedex_entries, :pokeviewer_species, |