feat : init
CI / verify (push) Successful in 45s
CI / build-and-deploy (push) Failing after 1m2s

This commit is contained in:
2026-09-09 17:58:37 +07:00 Unverified
parent f8680e2f4d
commit d120b5f787
51 changed files with 3337 additions and 101 deletions
+13
View File
@@ -0,0 +1,13 @@
import { integer, pgSchema, text, varchar } from "drizzle-orm/pg-core";
export const catalogSchema = pgSchema("catalog");
export const catalogCharacters = catalogSchema.table("character", {
key: varchar("key", { length: 64 }).primaryKey(), name: text("name").notNull(), element: varchar("element", { length: 48 }), rarity: integer("rarity"), weaponType: varchar("weapon_type", { length: 64 }), imageKey: text("image_key").notNull(),
});
export const catalogWeapons = catalogSchema.table("weapon", {
key: varchar("key", { length: 64 }).primaryKey(), name: text("name").notNull(), rarity: integer("rarity"), weaponType: varchar("weapon_type", { length: 64 }), imageKey: text("image_key").notNull(),
});
export const catalogArtifacts = catalogSchema.table("artifact", {
key: varchar("key", { length: 64 }).primaryKey(), name: text("name").notNull(), rarity: integer("rarity"), imageKey: text("image_key").notNull(),
});