mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-10 02:08:20 +00:00
fix: remove foreign key on name in cheat_detection table (#1202)
This commit is contained in:
parent
b24775f472
commit
1ec8da8bf7
9
migrations/dlu/11_fix_cheat_detection_table.sql
Normal file
9
migrations/dlu/11_fix_cheat_detection_table.sql
Normal 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
|
||||||
|
);
|
Loading…
Reference in New Issue
Block a user