about summary refs log tree commit diff stats
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20170917011258_create_pokeviewer_revisions.rb10
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
51end 51end