Files
mctf/dark-tariff/backend/database/sql/schema/receipts.sql
T
TakuyaYagam1 13f936bee9 chore: import MCTF services
- Added all seven issued service trees without omissions.
- Preserved the supplied runtime configuration, binaries, and assets.
2026-11-29 12:25:29 +03:00

8 lines
325 B
SQL
Executable File

create table if not exists billing.receipt (
id bigserial primary key,
reading_id bigint not null unique references billing.reading (id) on delete cascade,
created_at timestamptz not null default now(),
key_digest bytea not null check (octet_length(key_digest) = 32),
data jsonb not null
);