feat : big update
This commit is contained in:
+2
-1
@@ -15,7 +15,7 @@ import {
|
||||
varchar,
|
||||
} from "drizzle-orm/pg-core";
|
||||
|
||||
import type { CatalogConstellation } from "@/lib/catalog/lunaris";
|
||||
import type { CatalogConstellation, CatalogTalent } from "@/lib/catalog/lunaris";
|
||||
|
||||
const authSchema = pgSchema("auth");
|
||||
const mediaSchema = pgSchema("media");
|
||||
@@ -456,6 +456,7 @@ export const catalogCharacters = catalogSchema.table(
|
||||
imageKey: text("image_key").notNull(),
|
||||
elementIconKey: text("element_icon_key"),
|
||||
constellations: jsonb("constellations").$type<CatalogConstellation[]>().default([]).notNull(),
|
||||
talents: jsonb("talents").$type<CatalogTalent[]>().default([]).notNull(),
|
||||
},
|
||||
(table) => [
|
||||
primaryKey({ columns: [table.version, table.key] }),
|
||||
|
||||
Reference in New Issue
Block a user