about summary refs log tree commit diff stats
path: root/test/dummy
diff options
context:
space:
mode:
Diffstat (limited to 'test/dummy')
-rw-r--r--test/dummy/db/schema.rb24
1 files changed, 12 insertions, 12 deletions
diff --git a/test/dummy/db/schema.rb b/test/dummy/db/schema.rb index 4b5ad80..ef8b1ae 100644 --- a/test/dummy/db/schema.rb +++ b/test/dummy/db/schema.rb
@@ -43,18 +43,6 @@ ActiveRecord::Schema.define(version: 20170917011258) do
43 t.index ["uuid"], name: "index_pokeviewer_pokemon_on_uuid", unique: true 43 t.index ["uuid"], name: "index_pokeviewer_pokemon_on_uuid", unique: true
44 end 44 end
45 45
46 create_table "pokeviewer_revision_moves", force: :cascade do |t|
47 t.integer "revision_id", null: false
48 t.integer "move_id", null: false
49 t.integer "number", null: false
50 t.integer "pp_bonuses", default: 0, null: false
51 t.datetime "created_at", null: false
52 t.datetime "updated_at", null: false
53 t.index ["move_id"], name: "index_pokeviewer_revision_moves_on_move_id"
54 t.index ["revision_id", "number"], name: "index_pokeviewer_revision_moves_on_revision_id_and_number", unique: true
55 t.index ["revision_id"], name: "index_pokeviewer_revision_moves_on_revision_id"
56 end
57
58 create_table "pokeviewer_revisions", force: :cascade do |t| 46 create_table "pokeviewer_revisions", force: :cascade do |t|
59 t.integer "pokemon_id", null: false 47 t.integer "pokemon_id", null: false
60 t.integer "sequential_id", null: false 48 t.integer "sequential_id", null: false
@@ -74,8 +62,20 @@ ActiveRecord::Schema.define(version: 20170917011258) do
74 t.integer "toughness", null: false 62 t.integer "toughness", null: false
75 t.integer "sheen", null: false 63 t.integer "sheen", null: false
76 t.integer "hold_item" 64 t.integer "hold_item"
65 t.integer "move_1_id", null: false
66 t.integer "move_2_id"
67 t.integer "move_3_id"
68 t.integer "move_4_id"
69 t.integer "move_1_pp_bonuses", default: 0, null: false
70 t.integer "move_2_pp_bonuses", default: 0, null: false
71 t.integer "move_3_pp_bonuses", default: 0, null: false
72 t.integer "move_4_pp_bonuses", default: 0, null: false
77 t.datetime "created_at", null: false 73 t.datetime "created_at", null: false
78 t.datetime "updated_at", null: false 74 t.datetime "updated_at", null: false
75 t.index ["move_1_id"], name: "index_pokeviewer_revisions_on_move_1_id"
76 t.index ["move_2_id"], name: "index_pokeviewer_revisions_on_move_2_id"
77 t.index ["move_3_id"], name: "index_pokeviewer_revisions_on_move_3_id"
78 t.index ["move_4_id"], name: "index_pokeviewer_revisions_on_move_4_id"
79 t.index ["pokemon_id", "sequential_id"], name: "index_pokeviewer_revisions_on_pokemon_id_and_sequential_id", unique: true 79 t.index ["pokemon_id", "sequential_id"], name: "index_pokeviewer_revisions_on_pokemon_id_and_sequential_id", unique: true
80 t.index ["pokemon_id"], name: "index_pokeviewer_revisions_on_pokemon_id" 80 t.index ["pokemon_id"], name: "index_pokeviewer_revisions_on_pokemon_id"
81 end 81 end