AFFiNE/packages/backend/server/migrations/20240813095727_prompt_updated_field/migration.sql

4 lines
185 B
MySQL
Raw Normal View History

-- AlterTable
ALTER TABLE "ai_prompts_metadata" ADD COLUMN "modified" BOOLEAN NOT NULL DEFAULT false,
ADD COLUMN "updated_at" TIMESTAMPTZ(3) NOT NULL DEFAULT CURRENT_TIMESTAMP;