AFFiNE/packages/backend/server/migrations/20240527095524_fix_prompt_schema/migration.sql
darkskygit 5ba9e2e9b1
fix: choose provider correctly (#7081)
fix no provider error in caption generate action
2024-05-27 09:57:39 +00:00

9 lines
242 B
SQL

/*
Warnings:
- Made the column `model` on table `ai_prompts_metadata` required. This step will fail if there are existing NULL values in that column.
*/
-- AlterTable
ALTER TABLE "ai_prompts_metadata" ALTER COLUMN "model" SET NOT NULL;