@opentrust/db 7.3.9 → 7.3.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,13 @@
1
+ {
2
+ "version": "7",
3
+ "dialect": "postgresql",
4
+ "entries": [
5
+ {
6
+ "idx": 0,
7
+ "version": "7",
8
+ "when": 1772695191540,
9
+ "tag": "0000_right_excalibur",
10
+ "breakpoints": true
11
+ }
12
+ ]
13
+ }
@@ -0,0 +1,14 @@
1
+ CREATE TABLE `commands` (
2
+ `id` text PRIMARY KEY NOT NULL,
3
+ `tenant_id` text DEFAULT 'default' NOT NULL,
4
+ `agent_id` text NOT NULL,
5
+ `type` text NOT NULL,
6
+ `payload` text,
7
+ `status` text DEFAULT 'pending' NOT NULL,
8
+ `result` text,
9
+ `created_at` text NOT NULL,
10
+ `updated_at` text NOT NULL
11
+ );
12
+ --> statement-breakpoint
13
+ CREATE INDEX `idx_commands_agent_status` ON `commands` (`tenant_id`,`agent_id`,`status`);--> statement-breakpoint
14
+ CREATE INDEX `idx_commands_created_at` ON `commands` (`created_at`);