Add option to make comments invisible (not having to delete them). This is for moderation purposes.
All checks were successful
Website Sync / website-sync (push) Successful in 7s

This commit is contained in:
2026-02-12 20:03:54 -03:00
parent a481932f17
commit 14866f6b25
2 changed files with 2 additions and 1 deletions

View File

@@ -2,6 +2,7 @@ CREATE TABLE comments (
id INT(11) NOT NULL AUTO_INCREMENT,
username VARCHAR(255) NOT NULL,
content TEXT NOT NULL,
visible BOOLEAN DEFAULT 1,
date_sent DATETIME DEFAULT CURRENT_TIME,
users_id INT(11) NOT NULL,
PRIMARY KEY (id),