mirror of
https://github.com/beilunyang/moemail.git
synced 2026-05-07 05:52:58 +08:00
10 lines
302 B
SQL
10 lines
302 B
SQL
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
|
|
);
|