implemented anonymous user authentification with browser identification number from cookies

This commit is contained in:
2026-04-25 12:48:24 +02:00
parent 601c13012c
commit 360eb3744a
4 changed files with 86 additions and 33 deletions

View File

@@ -19,7 +19,7 @@ CREATE INDEX idx_votes_browser ON votes(browser_id);
-- Drops old Constraint voter_name based
ALTER TABLE votes
DROP CONSTRAINT IF EXISTS votes_contribution_id_voter_name_key;
DROP CONSTRAINT IF EXISTS votes_unique_per_voter;
-- Creates new Constraint browser_id based
ALTER TABLE votes