feat(db): add core Drizzle schema tables (hardware, games, gameVersions)

- Create lib/db/schema/ directory with barrel export index.ts
- Add hardware table with device_type enum (handled/console)
- Add games table with Steam metadata, sync fields, and JSON genres
- Add game_versions table with composite unique (gameId, buildId) and cascade delete

Refs: Chunk 2 of database schema implementation
This commit is contained in:
2026-04-25 11:39:20 +08:00
parent ef20a03f55
commit 89cb385e33
4 changed files with 68 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
// Barrel export — will be populated as schema files are created
export * from "./games"
export * from "./gameVersions"
export * from "./hardware"
export * from "./performanceEntries"
export * from "./gamePlatformSupport"