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,9 @@
CREATE TABLE IF NOT EXISTS mcaptcha_users (
name VARCHAR(100) NOT NULL UNIQUE,
email VARCHAR(100) UNIQUE DEFAULT NULL,
email_verified BOOLEAN DEFAULT NULL,
secret varchar(50) NOT NULL UNIQUE,
password TEXT NOT NULL,
ID INT auto_increment,
PRIMARY KEY(ID)
);