CREATE TABLE `schedules` ( `id` text PRIMARY KEY NOT NULL, `name` text NOT NULL, `enabled` integer DEFAULT 1 NOT NULL, `cron` text NOT NULL, `timezone` text, `scope_json` text NOT NULL, `actions_json` text NOT NULL, `concurrency` integer DEFAULT 2 NOT NULL, `notify_on_json` text, `last_run_at` text, `last_status` text, `created_at` text NOT NULL, `updated_at` text NOT NULL );