mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-11 20:08:37 +00:00
feat: text to image impl (#6437)
fix CLOUD-18 fix CLOUD-28 fix CLOUD-29
This commit is contained in:
@@ -26,6 +26,7 @@ CREATE TABLE "ai_prompts_messages" (
|
||||
"idx" INTEGER NOT NULL,
|
||||
"role" "AiPromptRole" NOT NULL,
|
||||
"content" TEXT NOT NULL,
|
||||
"attachments" JSON,
|
||||
"params" JSON,
|
||||
"created_at" TIMESTAMPTZ(6) NOT NULL DEFAULT CURRENT_TIMESTAMP
|
||||
);
|
||||
@@ -47,6 +48,8 @@ CREATE TABLE "ai_sessions_messages" (
|
||||
"session_id" VARCHAR(36) NOT NULL,
|
||||
"role" "AiPromptRole" NOT NULL,
|
||||
"content" TEXT NOT NULL,
|
||||
"attachments" JSON,
|
||||
"params" JSON,
|
||||
"created_at" TIMESTAMPTZ(6) NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
"updated_at" TIMESTAMPTZ(6) NOT NULL,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user