update version

This commit is contained in:
2025-12-06 14:55:57 -03:00
parent f3cd5663bd
commit a56e051a18
23 changed files with 8766 additions and 1942 deletions

View File

@@ -79,6 +79,9 @@ def unlink(org_id: str, user_id: str):
# Post-migration: uncomment the following line
# key=KeyPair(org_id, f'ADMIN#{user_id}'),
)
transact.delete(
key=KeyPair(user_id, f'SCOPE#{org_id}'),
)
transact.delete(
key=KeyPair(
pk=user_id,
@@ -90,6 +93,8 @@ def unlink(org_id: str, user_id: str):
transact.update(
key=KeyPair(user_id, '0'),
update_expr='DELETE tenant_id :org_id',
# Post-migration: uncomment the following line
# update_expr='DELETE org_id :org_id',
expr_attr_values={':org_id': {org_id}},
)