🐜 fix(db): Make controller_support an enum

This commit is contained in:
Wanjohi
2025-05-11 03:58:30 +03:00
parent 6051e11921
commit 82dfd6506d
7 changed files with 1282 additions and 6 deletions

View File

@@ -96,7 +96,7 @@ const base_games = table("base_games")
size: json<Size>(),
description: string(),
primary_genre: string(),
controller_support: string().optional(),
controller_support: enumeration<"full" | "unknown">(),
compatibility: enumeration<"high" | "mid" | "low" | "unknown">(),
score: number(),
...timestamps