Read every 15 minutes (Robot allows 200 requests an hour; read-only): each server's product, addresses, status, rescue system and paid-until, and the storage boxes. Adapter, sync service, hetzner_robot_state table, /api/hetzner-robot, Infrastructure → Hetzner Robot page, metrics and docs. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
9 lines
327 B
SQL
9 lines
327 B
SQL
CREATE TABLE `hetzner_robot_state` (
|
|
`integration_id` integer PRIMARY KEY NOT NULL,
|
|
`servers` text DEFAULT '[]' NOT NULL,
|
|
`storage_boxes` text,
|
|
`skipped_detail` integer DEFAULT 0 NOT NULL,
|
|
`updated_at` text NOT NULL,
|
|
FOREIGN KEY (`integration_id`) REFERENCES `integrations`(`id`) ON UPDATE no action ON DELETE cascade
|
|
);
|