Skip to content

Commit 9af0d69

Browse files
feat(db): add aditional feature labels
1 parent 0787b26 commit 9af0d69

1 file changed

Lines changed: 19 additions & 1 deletion

File tree

db/schema.rb

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#
1111
# It's strongly recommended that you check this file into your version control system.
1212

13-
ActiveRecord::Schema[7.2].define(version: 2026_02_26_100000) do
13+
ActiveRecord::Schema[7.2].define(version: 2026_03_06_120000) do
1414
create_schema "auth"
1515
create_schema "extensions"
1616
create_schema "graphql"
@@ -331,9 +331,27 @@
331331
t.jsonb "metadata", default: {}
332332
t.datetime "created_at", null: false
333333
t.datetime "updated_at", null: false
334+
t.integer "neutral_minions_killed"
335+
t.integer "objectives_stolen", default: 0
336+
t.integer "turret_plates_destroyed"
337+
t.integer "crowd_control_score"
338+
t.integer "total_time_dead"
339+
t.integer "damage_to_turrets"
340+
t.integer "damage_shielded_teammates"
341+
t.integer "healing_to_teammates"
342+
t.integer "cs_at_10"
343+
t.integer "spell_q_casts"
344+
t.integer "spell_w_casts"
345+
t.integer "spell_e_casts"
346+
t.integer "spell_r_casts"
347+
t.integer "summoner_spell_1_casts"
348+
t.integer "summoner_spell_2_casts"
349+
t.jsonb "pings", default: {}
334350
t.index ["champion"], name: "index_player_match_stats_on_champion"
351+
t.index ["crowd_control_score"], name: "idx_pms_cc_score"
335352
t.index ["match_id", "player_id"], name: "idx_player_stats_match_player_agg", comment: "Otimiza agregações de estatísticas (SUM kills/deaths/assists)"
336353
t.index ["match_id"], name: "idx_player_stats_match"
354+
t.index ["objectives_stolen"], name: "idx_pms_objectives_stolen", where: "(objectives_stolen > 0)"
337355
t.index ["player_id", "champion"], name: "idx_pms_player_champion"
338356
t.index ["player_id", "cs_per_min"], name: "idx_pms_player_cs_per_min"
339357
t.index ["player_id", "match_id"], name: "index_player_match_stats_on_player_id_and_match_id", unique: true

0 commit comments

Comments
 (0)