feat: ship enterprise control and desktop governance
This commit is contained in:
9
scripts/postgres-state-schema.sql
Normal file
9
scripts/postgres-state-schema.sql
Normal file
@@ -0,0 +1,9 @@
|
||||
CREATE TABLE IF NOT EXISTS boss_state_snapshots (
|
||||
snapshot_key TEXT PRIMARY KEY,
|
||||
state JSONB NOT NULL,
|
||||
created_at TIMESTAMPTZ NOT NULL DEFAULT now(),
|
||||
updated_at TIMESTAMPTZ NOT NULL DEFAULT now()
|
||||
);
|
||||
|
||||
CREATE INDEX IF NOT EXISTS boss_state_snapshots_updated_at_idx
|
||||
ON boss_state_snapshots (updated_at DESC);
|
||||
Reference in New Issue
Block a user