feat: add system requirements, store stats, and pricing to game schema and steam sync

This commit is contained in:
2026-04-28 23:13:08 +08:00
parent 7e2ab978e1
commit 799bfbbf31
6 changed files with 1786 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
ALTER TABLE "games" ADD COLUMN "system_requirements" jsonb;--> statement-breakpoint
ALTER TABLE "games" ADD COLUMN "metacritic_score" integer;--> statement-breakpoint
ALTER TABLE "games" ADD COLUMN "metacritic_url" text;--> statement-breakpoint
ALTER TABLE "games" ADD COLUMN "recommendations_total" integer;--> statement-breakpoint
ALTER TABLE "games" ADD COLUMN "price_current" integer;--> statement-breakpoint
ALTER TABLE "games" ADD COLUMN "price_initial" integer;--> statement-breakpoint
ALTER TABLE "games" ADD COLUMN "price_currency" text;--> statement-breakpoint
ALTER TABLE "games" ADD COLUMN "is_free" boolean DEFAULT false NOT NULL;--> statement-breakpoint
ALTER TABLE "games" ADD COLUMN "release_date" text;--> statement-breakpoint
ALTER TABLE "games" ADD COLUMN "categories" jsonb;--> statement-breakpoint
ALTER TABLE "games" ADD COLUMN "platforms" jsonb;
File diff suppressed because it is too large Load Diff
+7
View File
@@ -78,6 +78,13 @@
"when": 1777386687207,
"tag": "0010_soft_wilson_fisk",
"breakpoints": true
},
{
"idx": 11,
"version": "7",
"when": 1777389114548,
"tag": "0011_talented_bloodstorm",
"breakpoints": true
}
]
}