feat(domain,db): lab5 add outbox entry, transaction contract and 0006 migration

This commit is contained in:
Голиков Maximillian Антон
2026-11-06 22:43:56 +03:00
parent 18afe2563e
commit 7f0fb2b0da
4 changed files with 82 additions and 0 deletions
+4
View File
@@ -45,3 +45,7 @@ type AttachmentRepository interface {
ExistingKeys(ctx context.Context, keys []string) ([]string, error)
DeletePending(ctx context.Context, id string) error
}
type OutboxRepository interface {
Enqueue(ctx context.Context, tx Tx, e *OutboxEntry) error
}