CREATE TABLE `arr_state` ( `integration_id` integer PRIMARY KEY NOT NULL, `version` text, `health` text DEFAULT '[]' NOT NULL, `queue` text, `disks` text, `missing` integer, `indexers` text, `updated_at` text NOT NULL, FOREIGN KEY (`integration_id`) REFERENCES `integrations`(`id`) ON UPDATE no action ON DELETE cascade );