🗃️ db: add season field to media model

This commit is contained in:
2026-04-03 12:00:00 +07:00
parent e61686956b
commit 697f28de60
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,6 @@
-- CreateEnum
CREATE TYPE "Season" AS ENUM ('Winter', 'Spring', 'Summer', 'Fall');
-- AlterTable
ALTER TABLE "medias" ADD COLUMN "season" "Season",
ADD COLUMN "yearReleased" SMALLINT;