suplicate errors and database fkey null correction

This commit is contained in:
realaravinth
2021-03-11 16:45:43 +05:30
parent a73725eb39
commit 6be10af6fd
7 changed files with 107 additions and 18 deletions

View File

@@ -2,5 +2,5 @@ CREATE TABLE IF NOT EXISTS mcaptcha_config (
config_id SERIAL PRIMARY KEY NOT NULL,
ID INTEGER references mcaptcha_users(ID),
key VARCHAR(100) NOT NULL UNIQUE,
duration INTEGER NOT NULL
duration INTEGER NOT NULL DEFAULT 30
);