1
0
Fork 0
mirror of https://github.com/mCaptcha/mCaptcha.git synced 2025-05-02 05:10:23 +03:00

fix: worker_type should not be unique

This commit is contained in:
Aravinth Manivannan 2023-06-30 07:18:34 +05:30
parent 2b82af9a0c
commit 8ca48d85ff
No known key found for this signature in database
GPG key ID: AD9F0F08E855ED88
3 changed files with 3 additions and 4 deletions
db/db-sqlx-postgres/migrations

View file

@ -2,7 +2,6 @@ CREATE TABLE IF NOT EXISTS mcaptcha_pow_analytics (
config_id INTEGER references mcaptcha_config(config_id) ON DELETE CASCADE,
time INTEGER NOT NULL,
difficulty_factor INTEGER NOT NULL,
worker_type VARCHAR(100) NOT NULL UNIQUE,
worker_type VARCHAR(100) NOT NULL,
ID SERIAL PRIMARY KEY NOT NULL
);