Add historyType and historyId to Appeal, update database schema, API, and email templates to include punishment details.

This commit is contained in:
2025-08-16 23:40:20 +02:00
parent c3f3b20807
commit de1876c90c
8 changed files with 51 additions and 21 deletions
@@ -107,6 +107,8 @@ public class InitializeWebDb {
CREATE TABLE IF NOT EXISTS appeals (
id UUID NOT NULL DEFAULT (UUID()) PRIMARY KEY,
uuid UUID NOT NULL,
historyType VARCHAR(16) NOT NULL,
historyId BIGINT UNSIGNED NOT NULL,
username VARCHAR(16) NOT NULL,
reason TEXT NOT NULL,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL,