feat(guides): add team loadouts and element icons
This commit is contained in:
@@ -454,6 +454,7 @@ export const catalogCharacters = catalogSchema.table(
|
||||
rarity: integer("rarity"),
|
||||
weaponType: varchar("weapon_type", { length: 64 }),
|
||||
imageKey: text("image_key").notNull(),
|
||||
elementIconKey: text("element_icon_key"),
|
||||
constellations: jsonb("constellations").$type<CatalogConstellation[]>().default([]).notNull(),
|
||||
},
|
||||
(table) => [
|
||||
@@ -639,6 +640,10 @@ export const teamMembers = guidesSchema.table(
|
||||
position: integer("position").notNull(),
|
||||
catalogVersion: varchar("catalog_version", { length: 32 }).notNull(),
|
||||
characterKey: varchar("character_key", { length: 64 }).notNull(),
|
||||
weaponKey: varchar("weapon_key", { length: 64 }),
|
||||
artifactKey: varchar("artifact_key", { length: 64 }),
|
||||
constellation: integer("constellation").default(0).notNull(),
|
||||
refinement: integer("refinement").default(1).notNull(),
|
||||
damage: numeric("damage", { precision: 18, scale: 2 }).notNull(),
|
||||
},
|
||||
(table) => [primaryKey({ columns: [table.teamId, table.position] })],
|
||||
|
||||
Reference in New Issue
Block a user