mCaptcha/migrations/20210310122902_mcaptcha_levels.sql
2021-03-11 20:58:18 +05:30

6 lines
237 B
SQL

CREATE TABLE IF NOT EXISTS mcaptcha_levels (
config_id INTEGER references mcaptcha_config(config_id) ON DELETE CASCADE,
difficulty_factor INTEGER NOT NULL,
visitor_threshold INTEGER NOT NULL,
level_id SERIAL PRIMARY KEY NOT NULL
);