feat: add admin account search && delete account for user (#96)

* feat: add admin account search && delete account for user

* feat: add admin account search && delete account for user
This commit is contained in:
Dream Hunter
2024-04-04 14:30:07 +08:00
committed by GitHub
parent a19b9a7eb6
commit 9ce706fad1
17 changed files with 902 additions and 458 deletions

4
db/2024-04-03-patch.sql Normal file
View File

@@ -0,0 +1,4 @@
ALTER TABLE
address
ADD
updated_at DATETIME;

View File

@@ -11,7 +11,8 @@ CREATE TABLE IF NOT EXISTS mails (
CREATE TABLE IF NOT EXISTS address (
id INTEGER PRIMARY KEY,
name TEXT UNIQUE,
created_at DATETIME DEFAULT CURRENT_TIMESTAMP
created_at DATETIME DEFAULT CURRENT_TIMESTAMP,
updated_at DATETIME DEFAULT CURRENT_TIMESTAMP
);
CREATE TABLE IF NOT EXISTS auto_reply_mails (