Giao diện
platform_events / command_idempotency
Trang sinh tự động
Sinh từ ad83b0aea — chạy 820 migration lên PostgreSQL 17 rồi đọc pg_catalog. Mô tả bảng và cột lấy từ COMMENT ON. Không sửa tay: lần chạy docgen sau sẽ ghi đè.
1 bảng. Quay lại platform_events.
command_idempotency
P1-15. One row per completed command (actor, operation, requestId): canonical payload SHA-256 and the stored result returned on replay. Written in the command transaction; immutable. Replay window = retention (GAP-EVT-RETENTION). SYSTEM_ONLY, no client access.
public.command_idempotency · 7 cột · 3 check · 0 unique · 1 index · 2 policy · 1 trigger · RLS bật
| Cột | Kiểu | Khoá | Mô tả | |
|---|---|---|---|---|
actor_id | uuid | NOT NULL | PK | |
operation | text | NOT NULL | PK | |
request_id | text | NOT NULL | PK | |
payload_fingerprint | text | NOT NULL | ||
result | jsonb | NOT NULL | ||
correlation_id | correlation_ref | NOT NULL | ||
created_at | timestamptz | NOT NULL |
Khoá chính: actor_id, operation, request_id
Trỏ ra: không có
Được trỏ tới: không có