feat: add bpm and totalLength fields to mappool slots and display average star rating in mappools list

This commit is contained in:
2026-03-01 04:36:06 +01:00
parent e0c021782c
commit 6861c6c178
3 changed files with 8 additions and 1 deletions

View File

@@ -58,6 +58,8 @@ export const mappoolSlot = pgTable('mappool_slot', {
orderInCategory: integer('order_in_category').notNull(),
beatmapId: text('beatmap_id').notNull(),
starRating: real('star_rating'),
bpm: real('bpm'),
totalLength: integer('total_length'),
mods: text('mods').array().default([]).notNull()
});