CREATE TABLE `widget_secret` ( `item_id` text NOT NULL, `kind` text NOT NULL, `value` text NOT NULL, `updated_at` integer NOT NULL, PRIMARY KEY(`item_id`, `kind`), FOREIGN KEY (`item_id`) REFERENCES `item`(`id`) ON UPDATE no action ON DELETE cascade );