1
0
mirror of synced 2025-12-28 00:23:25 +00:00

feat(logs) displaying logs on account page

This commit is contained in:
Valentin
2024-06-17 10:59:03 +02:00
parent 387bc0a2d7
commit 3e4cb6ddd9
6 changed files with 46 additions and 13 deletions

View File

@@ -24,6 +24,7 @@ try {
$conn->exec("CREATE TABLE IF NOT EXISTS logs (
userId INT NOT NULL,
date DATETIME NOT NULL,
ip VARCHAR(255) NOT NULL,
FOREIGN KEY (userId) REFERENCES users(id)
)");