mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2025-05-05 06:32:49 +03:00
feat: track maximum recorded nonce for captcha levels to render progress bar
This commit is contained in:
parent
49a8757ead
commit
b6497882d7
12 changed files with 356 additions and 0 deletions
db/db-sqlx-postgres/migrations
|
@ -0,0 +1,6 @@
|
|||
-- Add migration script here
|
||||
CREATE TABLE IF NOT EXISTS mcaptcha_track_nonce (
|
||||
nonce INTEGER NOT NULL DEFAULT 0,
|
||||
level_id INTEGER references mcaptcha_levels(level_id) ON DELETE CASCADE,
|
||||
ID SERIAL PRIMARY KEY NOT NULL
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue