发布

  • [OPIK-4615] [BE] feat: remove dashboard name uniqueness constraint (#5675)

    frostbyte_neo 发布于 2026-03-16 13:10:29 +00:00

    • [OPIK-4615] [BE] feat: remove dashboard name uniqueness constraint

    Drop UNIQUE(workspace_id, name) to allow duplicate dashboard names across
    scopes. Slug constraint and generation kept for backward compatibility.

    Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

    • fix(migration): use no-op rollback for name uniqueness drop

    Rollback cannot safely restore the unique constraint if duplicate
    dashboard names were created after migration ran.

    Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com


    Co-authored-by: Claude Opus 4.6 (1M context) noreply@anthropic.com

    下载附件