Commit Graph
6 Commits
Author SHA1 Message Date
adrianbonpin 9ff44e3d15 feat: add echarts dependencies + preset performance link schema 2026-04-26 15:38:23 +08:00
adrianbonpin 327dce2b19 feat(database): add community presets and game comments tables, update games and performance entries schema
- Created new ENUM types for game source, online multiplayer status, frame generation method, and FSR version.
- Added `community_presets` table with relevant fields and constraints.
- Added `game_comments` table to store user comments on games.
- Updated `games` table to allow null steam_app_id and added source and online_multiplayer_status columns.
- Enhanced `performance_entries` table with new fields for FSR version, frame generation method, upvotes, downvotes, and verification details.
- Established foreign key constraints for new tables and updated existing ones.
- Created indexes to optimize queries on comments and performance entries.
2026-04-25 19:13:51 +08:00
adrianbonpin bd55c1d696 feat(schema): add barrel exports for all tables, generate migration 2026-04-25 18:24:12 +08:00
adrianbonpin a9cb8a328c feat(db): add lastLoginMethod field to user table for last-login-method plugin 2026-04-25 14:07:45 +08:00
adrianbonpin ab0fe349a1 fix: remove unused import, ignore drizzle meta files 2026-04-25 12:06:41 +08:00
adrianbonpin 65d13933bf feat(db): add hardware seed script, db:seed command, and initial migration
- Create lib/db/seed.ts with idempotent hardware seeding
- Add db:seed script and fix db:* scripts to load .env.local via bun --env-file
- Generate initial Drizzle migration (0000_crazy_nick_fury)
- Apply migration and seed 3 hardware devices (steamdeck-oled, steamdeck-lcd, steam-machine)
2026-04-25 11:53:10 +08:00