feat(ai-image): AI生图开发

This commit is contained in:
2026-09-27 22:40:52 +08:00
parent e670d06ca6
commit a29dd92676
105 changed files with 9943 additions and 361 deletions
@@ -0,0 +1,8 @@
SET search_path TO atlas, public;
ALTER TABLE watermark_templates
ADD COLUMN IF NOT EXISTS is_default BOOLEAN NOT NULL DEFAULT false;
CREATE UNIQUE INDEX IF NOT EXISTS ux_watermark_templates_workspace_default
ON watermark_templates (workspace_id)
WHERE is_default AND status = 'active' AND deleted_at IS NULL;