add comments

This commit is contained in:
2026-03-08 12:00:04 +08:00
parent ac46518cf5
commit 487562042f
2 changed files with 2 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
-- Create the messages table -- Create the messages table
-- This script runs in the ai_conversations database context
CREATE TABLE IF NOT EXISTS messages ( CREATE TABLE IF NOT EXISTS messages (
id BIGSERIAL PRIMARY KEY, id BIGSERIAL PRIMARY KEY,
conversation_id TEXT NOT NULL, conversation_id TEXT NOT NULL,

View File

@@ -1,4 +1,5 @@
-- A prompt_set groups a full collection of prompts together. -- A prompt_set groups a full collection of prompts together.
-- This script runs in the ai_conversations database context
-- Each pipeline can have many sets (versions, A/B variants, etc.); -- Each pipeline can have many sets (versions, A/B variants, etc.);
-- exactly one should be marked is_active per pipeline. -- exactly one should be marked is_active per pipeline.
CREATE TABLE IF NOT EXISTS prompt_sets ( CREATE TABLE IF NOT EXISTS prompt_sets (