Added new columns for extra tracking in visits table

This commit is contained in:
Alejandro Celaya
2021-02-07 11:26:01 +01:00
parent 23cffce861
commit f5666c9451
4 changed files with 74 additions and 1 deletions

View File

@@ -14,6 +14,7 @@ final class Visitor
public const USER_AGENT_MAX_LENGTH = 512;
public const REFERER_MAX_LENGTH = 1024;
public const REMOTE_ADDRESS_MAX_LENGTH = 256;
public const VISITED_URL_MAX_LENGTH = 2048;
private string $userAgent;
private string $referer;