CREATE TABLE `platform_settings` (
	`platform` text PRIMARY KEY NOT NULL,
	`default_format_profile_id` integer REFERENCES `format_profiles`(`id`) ON DELETE SET NULL,
	`check_interval` integer DEFAULT 360,
	`concurrency_limit` integer DEFAULT 2,
	`subtitle_languages` text,
	`grab_all_enabled` integer DEFAULT false NOT NULL,
	`grab_all_order` text DEFAULT 'newest' NOT NULL,
	`created_at` text DEFAULT (datetime('now')) NOT NULL,
	`updated_at` text DEFAULT (datetime('now')) NOT NULL
);
