fix(org): adding unique constrants to not allow an org to be added twice with same id

This commit is contained in:
Iraq Jaber
2025-06-26 19:05:58 +02:00
parent 1ebbe275b9
commit 38e12de79c
5 changed files with 82 additions and 18 deletions

View File

@@ -195,7 +195,7 @@ Errors:
AlreadyExists: Instance already exists
NotChanged: Instance not changed
Org:
AlreadyExists: Organisation's name already taken
AlreadyExists: Organisation's name or id already taken
Invalid: Organisation is invalid
AlreadyDeactivated: Organisation is already deactivated
AlreadyActive: Organisation is already active