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.
This commit is contained in:
2026-04-25 19:13:51 +08:00
parent 5dd30665f7
commit 327dce2b19
5 changed files with 1584 additions and 76 deletions
+3 -3
View File
@@ -26,9 +26,9 @@
{
"idx": 3,
"version": "7",
"when": 1777089104475,
"tag": "0003_schema_expansion",
"when": 1777115371276,
"tag": "0004_aspiring_meggan",
"breakpoints": true
}
]
}
}