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,10 @@
CREATE TABLE IF NOT EXISTS mcaptcha_pow_fetched_stats (
config_id INTEGER NOT NULL,
time timestamp NOT NULL DEFAULT now(),
CONSTRAINT `fk_mcaptcha_config_id_pow_fetched_stats`
FOREIGN KEY (config_id)
REFERENCES mcaptcha_config (config_id)
ON DELETE CASCADE
ON UPDATE CASCADE
);