CREATE TABLE `private_location` ( `id` integer PRIMARY KEY NOT NULL, `name` text NOT NULL, `token` text NOT NULL, `last_seen_at` integer, `workspace_id` integer, `created_at` integer DEFAULT (strftime('%s', 'now')), `updated_at` integer DEFAULT (strftime('%s', 'now')), FOREIGN KEY (`workspace_id`) REFERENCES `workspace`(`id`) ON UPDATE no action ON DELETE no action ); --> statement-breakpoint CREATE TABLE `private_location_to_monitor` ( `private_location_id` integer, `monitor_id` integer, `created_at` integer DEFAULT (strftime('%s', 'now')), `deleted_at` integer, FOREIGN KEY (`private_location_id`) REFERENCES `private_location`(`id`) ON UPDATE no action ON DELETE cascade, FOREIGN KEY (`monitor_id`) REFERENCES `monitor`(`id`) ON UPDATE no action ON DELETE cascade );