feat: impl MCDatabase for mariadb

This commit is contained in:
realaravinth
2022-07-20 17:39:17 +05:30
parent 0b2af2f900
commit 9b5b34a1f8
95 changed files with 3949 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
-- mark a notification as read
UPDATE mcaptcha_notifications
SET read_notification = TRUE
WHERE
mcaptcha_notifications.id = ?
AND
mcaptcha_notifications.rx = (
SELECT
id
FROM
mcaptcha_users
WHERE
name = ?
);