Commit Graph
3 Commits
Author SHA1 Message Date
adrianbonpin 3da593e619 feat(schema): add source enum, nullable steamAppId, onlineMultiplayerStatus to games table 2026-04-25 18:18:48 +08:00
adrianbonpin ab0fe349a1 fix: remove unused import, ignore drizzle meta files 2026-04-25 12:06:41 +08:00
adrianbonpin 89cb385e33 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
2026-04-25 11:39:20 +08:00