Added capability to merge organisations

- Added an interface for organisation
- Added beforeDelete and beforeMerge callbacks
- Added hard/soft delete to organisations
This commit is contained in:
2022-02-07 16:20:30 +00:00
parent b6edcf03e8
commit 28255e315a
11 changed files with 536 additions and 2 deletions

View File

@@ -0,0 +1,25 @@
---
source_slug:
validators:
required:
label: "&SOURCE_SLUG"
message: VALIDATE.REQUIRED
length:
label: "&SOURCE_SLUG"
min: 1
max: 255
message: VALIDATE.LENGTH_RANGE
transformations:
- trim
target_slug:
validators:
required:
label: "&TARGET_SLUG"
message: VALIDATE.REQUIRED
length:
label: "&TARGET_SLUG"
min: 1
max: 255
message: VALIDATE.LENGTH_RANGE
transformations:
- trim