fix: use pgEnum for steamReviewSentiment

This commit is contained in:
2026-04-30 18:50:48 +08:00
parent 5dfd8db578
commit 09bf8f64d6
5 changed files with 1811 additions and 1 deletions
+2
View File
@@ -0,0 +1,2 @@
CREATE TYPE "public"."steam_review_sentiment" AS ENUM('overwhelmingly_positive', 'very_positive', 'positive', 'mostly_positive', 'mixed', 'mostly_negative', 'negative', 'very_negative', 'overwhelmingly_negative');--> statement-breakpoint
ALTER TABLE "games" ALTER COLUMN "steam_review_sentiment" SET DATA TYPE "public"."steam_review_sentiment" USING "steam_review_sentiment"::"public"."steam_review_sentiment";
File diff suppressed because it is too large Load Diff
+7
View File
@@ -113,6 +113,13 @@
"when": 1777545844610,
"tag": "0015_nappy_the_phantom",
"breakpoints": true
},
{
"idx": 16,
"version": "7",
"when": 1777546237462,
"tag": "0016_zippy_eternals",
"breakpoints": true
}
]
}