CREATE TABLE `webhook` ( `id` text PRIMARY KEY NOT NULL, `user_id` text NOT NULL, `url` text NOT NULL, `enabled` integer DEFAULT true NOT NULL, `created_at` integer NOT NULL, `updated_at` integer NOT NULL, FOREIGN KEY (`user_id`) REFERENCES `user`(`id`) ON UPDATE no action ON DELETE cascade );