mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-11 18:15:39 +00:00
suplicate errors and database fkey null correction
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
CREATE TABLE IF NOT EXISTS mcaptcha_domains (
|
||||
name VARCHAR(100) PRIMARY KEY NOT NULL UNIQUE,
|
||||
ID INTEGER references mcaptcha_users(ID)
|
||||
ID INTEGER references mcaptcha_users(ID) NOT NULL
|
||||
);
|
||||
|
||||
@@ -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
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user