add creature and base rp_world

This commit is contained in:
2021-06-02 22:24:04 +02:00
parent 5b3da08707
commit 62464846a3
56 changed files with 432 additions and 13 deletions

53
db/schema.rb generated
View File

@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 2021_05_30_151735) do
ActiveRecord::Schema.define(version: 2021_06_02_193023) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -49,6 +49,15 @@ ActiveRecord::Schema.define(version: 2021_05_30_151735) do
t.index ["translatable_id", "translatable_type", "locale", "key"], name: "index_mobility_text_translations_on_keys", unique: true
end
create_table "rp_worlds", force: :cascade do |t|
t.string "name"
t.string "description"
t.bigint "user_id"
t.datetime "created_at", precision: 6, null: false
t.datetime "updated_at", precision: 6, null: false
t.index ["user_id"], name: "index_rp_worlds_on_user_id"
end
create_table "user_obtain_wow_mounts", force: :cascade do |t|
t.bigint "user_id"
t.bigint "wow_mount_id"
@@ -95,6 +104,17 @@ ActiveRecord::Schema.define(version: 2021_05_30_151735) do
t.index ["wow_character_id"], name: "index_wow_character_media_on_wow_character_id"
end
create_table "wow_character_play_rp_worlds", force: :cascade do |t|
t.string "status"
t.string "role"
t.bigint "wow_character_id"
t.bigint "rp_world_id"
t.datetime "created_at", precision: 6, null: false
t.datetime "updated_at", precision: 6, null: false
t.index ["rp_world_id"], name: "index_wow_character_play_rp_worlds_on_rp_world_id"
t.index ["wow_character_id"], name: "index_wow_character_play_rp_worlds_on_wow_character_id"
end
create_table "wow_character_titles", force: :cascade do |t|
t.jsonb "name"
t.string "href"
@@ -171,6 +191,37 @@ ActiveRecord::Schema.define(version: 2021_05_30_151735) do
t.index ["covenant_id"], name: "index_wow_covenants_on_covenant_id", unique: true
end
create_table "wow_creature_families", force: :cascade do |t|
t.integer "creature_family_id"
t.jsonb "name"
t.integer "media_id"
t.datetime "created_at", precision: 6, null: false
t.datetime "updated_at", precision: 6, null: false
t.index ["creature_family_id"], name: "index_wow_creature_families_on_creature_family_id", unique: true
end
create_table "wow_creature_types", force: :cascade do |t|
t.integer "creature_type_id"
t.jsonb "name"
t.datetime "created_at", precision: 6, null: false
t.datetime "updated_at", precision: 6, null: false
t.index ["creature_type_id"], name: "index_wow_creature_types_on_creature_type_id", unique: true
end
create_table "wow_creatures", force: :cascade do |t|
t.integer "creature_id"
t.jsonb "name"
t.boolean "is_tameable"
t.integer "display_id"
t.bigint "wow_creature_family_id"
t.bigint "wow_creature_type_id"
t.datetime "created_at", precision: 6, null: false
t.datetime "updated_at", precision: 6, null: false
t.index ["creature_id"], name: "index_wow_creatures_on_creature_id", unique: true
t.index ["wow_creature_family_id"], name: "index_wow_creatures_on_wow_creature_family_id"
t.index ["wow_creature_type_id"], name: "index_wow_creatures_on_wow_creature_type_id"
end
create_table "wow_geo_maps", force: :cascade do |t|
t.integer "map_id"
t.jsonb "name"