chore: import MCTF services

- Added all seven issued service trees without omissions.
- Preserved the supplied runtime configuration, binaries, and assets.
This commit is contained in:
TakuyaYagam1 committed 2026-11-29 12:25:29 +03:00
commit 13f936bee9
1222 files changed
+21280

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
create extension if not exists pgcrypto;
create schema if not exists billing;
create table if not exists billing.reading (
id bigserial primary key,
serial text not null check (btrim(serial) <> '' and length(serial) <= 128),
kind text not null,
metrics jsonb not null check (jsonb_typeof(metrics) = 'object'),
created_at timestamptz not null default now(),
n integer not null,
h bit varying[] not null,
y bit varying not null,
w integer not null,
parameters text not null
);
create index if not exists reading_created_at_idx
on billing.reading (created_at);
create unique index if not exists reading_parameters_uniq
on billing.reading (digest(parameters, 'sha256'));