mCaptcha/migrations/20210310122617_mcaptcha_config.sql

8 lines
285 B
MySQL
Raw Normal View History

2021-03-10 18:13:25 +03:00
CREATE TABLE IF NOT EXISTS mcaptcha_config (
config_id SERIAL PRIMARY KEY NOT NULL,
domain_name VARCHAR(100) NOT NULL references mcaptcha_domains(name) ON DELETE CASCADE,
2021-03-10 18:13:25 +03:00
key VARCHAR(100) NOT NULL UNIQUE,
name VARCHAR(100) NOT NULL UNIQUE,
duration INTEGER NOT NULL DEFAULT 30
2021-03-10 18:13:25 +03:00
);