fix: remove foreign key on name in cheat_detection table (#1202)

This commit is contained in:
Aaron Kimbrell
2023-09-30 06:22:32 -05:00
committed by GitHub
parent b24775f472
commit 1ec8da8bf7

View File

@@ -0,0 +1,9 @@
DROP TABLE IF EXISTS `player_cheat_detections`;
CREATE TABLE IF NOT EXISTS player_cheat_detections (
id BIGINT NOT NULL AUTO_INCREMENT PRIMARY KEY,
account_id INT REFERENCES accounts(id),
name TEXT NOT NULL,
violation_msg TEXT NOT NULL,
violation_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP(),
violation_system_address TEXT NOT NULL
);