about summary refs log tree commit diff stats
path: root/db/schema.rb
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2018-01-14 13:18:29 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2018-01-14 13:18:29 -0500
commit62ffd6ca978159889a87dfe4321c1c790f9108b6 (patch)
treecfd7260cb3186ff1759761e5afcb27cee213e0ef /db/schema.rb
parent3cfdb5a1d6cff5c869f91714de02c56d8b6e211e (diff)
downloadthoughts-62ffd6ca978159889a87dfe4321c1c790f9108b6.tar.gz
thoughts-62ffd6ca978159889a87dfe4321c1c790f9108b6.tar.bz2
thoughts-62ffd6ca978159889a87dfe4321c1c790f9108b6.zip
Added migration from previous pokeviewer update
Diffstat (limited to 'db/schema.rb')
-rw-r--r--db/schema.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/db/schema.rb b/db/schema.rb index 7a7be14..f4243a4 100644 --- a/db/schema.rb +++ b/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: 20180113211911) do 13ActiveRecord::Schema.define(version: 20180114181813) do
14 14
15 create_table "ckeditor_assets", force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci" do |t| 15 create_table "ckeditor_assets", force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci" do |t|
16 t.string "data_file_name", null: false 16 t.string "data_file_name", null: false
@@ -98,6 +98,8 @@ ActiveRecord::Schema.define(version: 20180113211911) do
98 t.integer "slot" 98 t.integer "slot"
99 t.integer "location_id" 99 t.integer "location_id"
100 t.string "pokeball", null: false 100 t.string "pokeball", null: false
101 t.bigint "current_id"
102 t.index ["current_id"], name: "index_pokeviewer_pokemon_on_current_id"
101 t.index ["key"], name: "index_pokeviewer_pokemon_on_key", unique: true 103 t.index ["key"], name: "index_pokeviewer_pokemon_on_key", unique: true
102 t.index ["trainer_id"], name: "index_pokeviewer_pokemon_on_trainer_id" 104 t.index ["trainer_id"], name: "index_pokeviewer_pokemon_on_trainer_id"
103 t.index ["uuid"], name: "index_pokeviewer_pokemon_on_uuid", unique: true 105 t.index ["uuid"], name: "index_pokeviewer_pokemon_on_uuid", unique: true
@@ -237,5 +239,6 @@ ActiveRecord::Schema.define(version: 20180113211911) do
237 t.index ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true 239 t.index ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true
238 end 240 end
239 241
242 add_foreign_key "pokeviewer_pokemon", "pokeviewer_revisions", column: "current_id"
240 add_foreign_key "pokeviewer_revisions", "pokeviewer_species", column: "species_id" 243 add_foreign_key "pokeviewer_revisions", "pokeviewer_species", column: "species_id"
241end 244end