feat(fields): мягкое удаление полей формы — архив удалённых с восстановлением и блок «Удалённые поля» в задаче

This commit is contained in:
2026-09-21 14:35:45 +03:00
parent d5f2925886
commit e3f0ebfb89
18 changed files with 296 additions and 48 deletions

View File

@@ -198,7 +198,8 @@ export class UsersStorage {
and(
eq(forms.organizationId, organizationId),
eq(formFields.type, 'user'),
eq(formFields.linkToUserProfile, true)
eq(formFields.linkToUserProfile, true),
isNull(formFields.deletedAt)
)
);