Перенёс приложение из lab4, добавил очередь заданий, outbox и worker

This commit is contained in:
gera
2026-11-06 01:59:07 +03:00
parent 276dbdad8a
commit dfa8784afa
19 changed files with 3371 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
create table idempotency_keys (
user_id uuid not null references users(id) on delete cascade,
method text not null,
path text not null,
key text not null,
body_hash text not null,
response jsonb not null,
created_at timestamptz not null,
primary key (user_id, method, path, key)
);