mirror of
https://github.com/saltbo/agent-kanban.git
synced 2026-09-19 09:01:47 +08:00
a2fa54a729
Replace the v1 Agent/Machine runtime and CLI architecture with the v2 Resource Server, AMA-backed projections, task lifecycle, session observation, BDD specifications, and a single-package layered codebase. BREAKING CHANGE: remove the v1 CLI, internal Agent/Machine runtime entities, workspace layout, and legacy runtime coordination APIs.
10 lines
360 B
SQL
10 lines
360 B
SQL
CREATE TABLE ama_resource_initializations (
|
|
tenant_id TEXT PRIMARY KEY REFERENCES realmroot_tenants(id) ON DELETE CASCADE,
|
|
claim_token TEXT NOT NULL,
|
|
expires_at TEXT NOT NULL,
|
|
created_at TEXT NOT NULL DEFAULT (strftime('%Y-%m-%dT%H:%M:%fZ','now'))
|
|
);
|
|
|
|
CREATE INDEX idx_ama_resource_initializations_expiry
|
|
ON ama_resource_initializations(expires_at);
|