mirror of
https://github.com/bpmforge/kryptkeeper.git
synced 2026-11-24 00:46:55 +00:00
e0d82a4ed0
First stable release. Notes: docs/release/RELEASE_NOTES_v1.0.0.md Lab record: docs/release/LIVE_RESULTS_v1.0.0.md
9 lines
327 B
SQL
9 lines
327 B
SQL
-- W33-21: per-team monthly issuance counters. team_id is "<tenant>/<team>";
|
|
-- period is the UTC month "YYYY-MM". Reserve is one atomic upsert.
|
|
CREATE TABLE IF NOT EXISTS team_request_counters (
|
|
team_id TEXT NOT NULL,
|
|
period TEXT NOT NULL,
|
|
count INTEGER NOT NULL DEFAULT 0,
|
|
PRIMARY KEY (team_id, period)
|
|
);
|