feat (Worker): add a worker to check and adjust the TikTok graph

This commit is contained in:
Pierre Ryssen
2026-03-13 12:00:00 +01:00
parent 61f426ef3c
commit 4ef8913759
11 changed files with 960 additions and 52 deletions

View File

@@ -0,0 +1,7 @@
-- AlterTable
ALTER TABLE "Snapshot" ADD COLUMN "likes" INTEGER NOT NULL DEFAULT 0,
ADD COLUMN "videoCount" INTEGER NOT NULL DEFAULT 0,
ALTER COLUMN "views" SET DEFAULT 0;
-- AlterTable
ALTER TABLE "User" ADD COLUMN "plan" TEXT NOT NULL DEFAULT 'free';