feat(org): add organization and membership contract and storage

This commit is contained in:
shira committed 2026-10-06 15:55:29 +03:00
1 parent a0551a34b8
commit bdc5855001
90 files changed
+17545 -480

No files matched your search

+1 -2
View File
@@ -7,7 +7,6 @@ import (
"crypto/sha256"
"errors"
"fmt"
"slices"
"strings"
"sync"
"testing"
@@ -72,7 +71,7 @@ func TestIdentityRepositories(t *testing.T) {
t.Helper()
// The deliveries and consent records reference users, so TRUNCATE
// must name them too.
truncateTables(ctx, t, pool, slices.Concat(identityTables, deliveryTables, consentTables)...)
truncateTables(ctx, t, pool, usersDependentTables...)
}
t.Run("stores an account and finds it by ID and by any case of its email", func(t *testing.T) {