about summary refs log tree commit diff stats
path: root/test/dummy/db
diff options
context:
space:
mode:
Diffstat (limited to 'test/dummy/db')
-rw-r--r--test/dummy/db/schema.rb22
1 files changed, 21 insertions, 1 deletions
diff --git a/test/dummy/db/schema.rb b/test/dummy/db/schema.rb index 1dfb59a..9530010 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: 20170929211529) do 13ActiveRecord::Schema.define(version: 20170930021856) 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
@@ -22,6 +22,12 @@ ActiveRecord::Schema.define(version: 20170929211529) do
22 t.index ["trainer_id"], name: "index_pokeviewer_boxes_on_trainer_id" 22 t.index ["trainer_id"], name: "index_pokeviewer_boxes_on_trainer_id"
23 end 23 end
24 24
25 create_table "pokeviewer_gift_ribbons", force: :cascade do |t|
26 t.string "description", null: false
27 t.datetime "created_at", null: false
28 t.datetime "updated_at", null: false
29 end
30
25 create_table "pokeviewer_locations", force: :cascade do |t| 31 create_table "pokeviewer_locations", force: :cascade do |t|
26 t.string "name", null: false 32 t.string "name", null: false
27 t.datetime "created_at", null: false 33 t.datetime "created_at", null: false
@@ -129,7 +135,21 @@ ActiveRecord::Schema.define(version: 20170929211529) do
129 t.integer "number", null: false 135 t.integer "number", null: false
130 t.datetime "created_at", null: false 136 t.datetime "created_at", null: false
131 t.datetime "updated_at", null: false 137 t.datetime "updated_at", null: false
138 t.integer "marine_ribbon_id"
139 t.integer "land_ribbon_id"
140 t.integer "sky_ribbon_id"
141 t.integer "country_ribbon_id"
142 t.integer "national_ribbon_id"
143 t.integer "earth_ribbon_id"
144 t.integer "world_ribbon_id"
145 t.index ["country_ribbon_id"], name: "index_pokeviewer_trainers_on_country_ribbon_id"
146 t.index ["earth_ribbon_id"], name: "index_pokeviewer_trainers_on_earth_ribbon_id"
147 t.index ["land_ribbon_id"], name: "index_pokeviewer_trainers_on_land_ribbon_id"
148 t.index ["marine_ribbon_id"], name: "index_pokeviewer_trainers_on_marine_ribbon_id"
132 t.index ["name", "number"], name: "index_pokeviewer_trainers_on_name_and_number", unique: true 149 t.index ["name", "number"], name: "index_pokeviewer_trainers_on_name_and_number", unique: true
150 t.index ["national_ribbon_id"], name: "index_pokeviewer_trainers_on_national_ribbon_id"
151 t.index ["sky_ribbon_id"], name: "index_pokeviewer_trainers_on_sky_ribbon_id"
152 t.index ["world_ribbon_id"], name: "index_pokeviewer_trainers_on_world_ribbon_id"
133 end 153 end
134 154
135end 155end