Skip to content

Open-source status page, incident response and uptime monitoring

440 B
Raw Blame
CREATE TABLE `check` (
	`id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
	`regions` text DEFAULT '' NOT NULL,
	`url` text(4096) NOT NULL,
	`headers` text DEFAULT '',
	`body` text DEFAULT '',
	`method` text DEFAULT 'GET',
	`count_requests` integer DEFAULT 1,
	`workspace_id` integer,
	`created_at` integer DEFAULT (strftime('%s', 'now')),
	FOREIGN KEY (`workspace_id`) REFERENCES `workspace`(`id`) ON UPDATE no action ON DELETE no action
);