feat: add app-level authentication foundation

This commit is contained in:
a.tolmachev
2026-03-30 23:47:09 +03:00
parent 91854a4153
commit ab2e603997
42 changed files with 1624 additions and 236 deletions
+16
View File
@@ -33,6 +33,7 @@
- `workspaces`
- `users`
- `user_sessions`
- `memberships`
- `invitation_tokens`
- `operations`
@@ -166,9 +167,24 @@
- `id`
- `email`
- `display_name`
- `password_hash`
- `status`
- `created_at`
### `user_sessions`
- `id`
- `user_id`
- `secret_hash`
- `status`
- `expires_at`
- `last_seen_at`
- `created_at`
Ограничения:
- `unique (user_id, id)`
### `memberships`
- `workspace_id`