fix(prisma): colonnes Agent sourceNoteIds / slideTheme / slideStyle + migration
Some checks failed
Deploy to Production / Build and Deploy (push) Has been cancelled
Some checks failed
Deploy to Production / Build and Deploy (push) Has been cancelled
Répare le typecheck Next () : le code utilisait ces champs alors que le schéma sur main ne les exposait pas encore. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
-- AlterTable: Agent — notes sources explicites + options slides (aligné schema.prisma)
|
||||
DO $$ BEGIN
|
||||
ALTER TABLE "Agent" ADD COLUMN "sourceNoteIds" TEXT;
|
||||
EXCEPTION WHEN duplicate_column THEN NULL;
|
||||
END $$;
|
||||
|
||||
DO $$ BEGIN
|
||||
ALTER TABLE "Agent" ADD COLUMN "slideTheme" TEXT;
|
||||
EXCEPTION WHEN duplicate_column THEN NULL;
|
||||
END $$;
|
||||
|
||||
DO $$ BEGIN
|
||||
ALTER TABLE "Agent" ADD COLUMN "slideStyle" TEXT;
|
||||
EXCEPTION WHEN duplicate_column THEN NULL;
|
||||
END $$;
|
||||
Reference in New Issue
Block a user