ЛР 3 - БВТ2304 - Гончаревская.Е.А. - на 3

This commit is contained in:
Katarhi
2026-11-02 19:12:26 +03:00
parent 0ab3a341aa
commit 486afb97bc
10 changed files with 1102 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
CREATE TABLE idempotency_keys (
scope TEXT PRIMARY KEY,
request_hash CHAR(64) NOT NULL,
response_json JSONB NOT NULL,
created_at TIMESTAMPTZ NOT NULL DEFAULT now()
);
CREATE INDEX idempotency_keys_created_at_idx ON idempotency_keys (created_at);