add WowGuild model
This commit is contained in:
18
db/schema.rb
generated
18
db/schema.rb
generated
@@ -10,7 +10,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 2021_04_30_213202) do
|
||||
ActiveRecord::Schema.define(version: 2021_05_28_125553) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
@@ -129,10 +129,12 @@ ActiveRecord::Schema.define(version: 2021_04_30_213202) do
|
||||
t.datetime "updated_at", precision: 6, null: false
|
||||
t.bigint "last_position_id"
|
||||
t.bigint "bind_position_id"
|
||||
t.bigint "wow_guild_id"
|
||||
t.index ["character_id"], name: "index_wow_characters_on_character_id", unique: true
|
||||
t.index ["user_id"], name: "index_wow_characters_on_user_id"
|
||||
t.index ["wow_character_title_id"], name: "index_wow_characters_on_wow_character_title_id"
|
||||
t.index ["wow_class_id"], name: "index_wow_characters_on_wow_class_id"
|
||||
t.index ["wow_guild_id"], name: "index_wow_characters_on_wow_guild_id"
|
||||
t.index ["wow_race_id"], name: "index_wow_characters_on_wow_race_id"
|
||||
t.index ["wow_realm_id"], name: "index_wow_characters_on_wow_realm_id"
|
||||
end
|
||||
@@ -178,6 +180,20 @@ ActiveRecord::Schema.define(version: 2021_04_30_213202) do
|
||||
t.index ["zone_id"], name: "index_wow_geo_zones_on_zone_id", unique: true
|
||||
end
|
||||
|
||||
create_table "wow_guilds", force: :cascade do |t|
|
||||
t.string "name"
|
||||
t.integer "guild_id"
|
||||
t.integer "achievement_points"
|
||||
t.integer "member_count"
|
||||
t.string "faction"
|
||||
t.jsonb "translated_faction"
|
||||
t.bigint "wow_realm_id"
|
||||
t.datetime "created_at", precision: 6, null: false
|
||||
t.datetime "updated_at", precision: 6, null: false
|
||||
t.index ["guild_id"], name: "index_wow_guilds_on_guild_id", unique: true
|
||||
t.index ["wow_realm_id"], name: "index_wow_guilds_on_wow_realm_id"
|
||||
end
|
||||
|
||||
create_table "wow_mounts", force: :cascade do |t|
|
||||
t.jsonb "name"
|
||||
t.string "source_type"
|
||||
|
||||
Reference in New Issue
Block a user