mirror of
https://github.com/beilunyang/moemail.git
synced 2026-06-12 02:50:08 +08:00
feat: profile page & webhook notification
This commit is contained in:
9
drizzle/0003_dashing_dust.sql
Normal file
9
drizzle/0003_dashing_dust.sql
Normal file
@@ -0,0 +1,9 @@
|
||||
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
|
||||
);
|
||||
Reference in New Issue
Block a user