about summary refs log tree commit diff stats
path: root/test
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2017-10-03 15:11:00 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2017-10-03 15:11:00 -0400
commitb618e52428bb659cb1fe3bdbe3d3763d48b4556c (patch)
tree58446ae6883c4257013bc93375cfd668720bce95 /test
parent34830f2e96e4213e8acb10ea457244c7523aeb5a (diff)
downloadpokeviewer-b618e52428bb659cb1fe3bdbe3d3763d48b4556c.tar.gz
pokeviewer-b618e52428bb659cb1fe3bdbe3d3763d48b4556c.tar.bz2
pokeviewer-b618e52428bb659cb1fe3bdbe3d3763d48b4556c.zip
Made "met location" into an actual association
Diffstat (limited to 'test')
-rw-r--r--test/dummy/db/schema.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dummy/db/schema.rb b/test/dummy/db/schema.rb index 84e15a3..87db1f8 100644 --- a/test/dummy/db/schema.rb +++ b/test/dummy/db/schema.rb
@@ -10,7 +10,7 @@
10# 10#
11# It's strongly recommended that you check this file into your version control system. 11# It's strongly recommended that you check this file into your version control system.
12 12
13ActiveRecord::Schema.define(version: 20170930213633) do 13ActiveRecord::Schema.define(version: 20171003154157) do
14 14
15 create_table "pokeviewer_boxes", force: :cascade do |t| 15 create_table "pokeviewer_boxes", force: :cascade do |t|
16 t.integer "trainer_id", null: false 16 t.integer "trainer_id", null: false
@@ -66,7 +66,6 @@ ActiveRecord::Schema.define(version: 20170930213633) do
66 t.string "ot_name", null: false 66 t.string "ot_name", null: false
67 t.integer "ot_number", null: false 67 t.integer "ot_number", null: false
68 t.string "met_type", null: false 68 t.string "met_type", null: false
69 t.string "met_location"
70 t.integer "met_level" 69 t.integer "met_level"
71 t.boolean "shiny", default: false, null: false 70 t.boolean "shiny", default: false, null: false
72 t.string "nature", null: false 71 t.string "nature", null: false
@@ -78,6 +77,7 @@ ActiveRecord::Schema.define(version: 20170930213633) do
78 t.string "ot_gender", default: "", null: false 77 t.string "ot_gender", default: "", null: false
79 t.integer "box" 78 t.integer "box"
80 t.integer "slot" 79 t.integer "slot"
80 t.integer "location_id"
81 t.index ["key"], name: "index_pokeviewer_pokemon_on_key", unique: true 81 t.index ["key"], name: "index_pokeviewer_pokemon_on_key", unique: true
82 t.index ["species_id"], name: "index_pokeviewer_pokemon_on_species_id" 82 t.index ["species_id"], name: "index_pokeviewer_pokemon_on_species_id"
83 t.index ["trainer_id"], name: "index_pokeviewer_pokemon_on_trainer_id" 83 t.index ["trainer_id"], name: "index_pokeviewer_pokemon_on_trainer_id"