Skip to content

Commit

Permalink
fix: remove foreign key on name in cheat_detection table
Browse files Browse the repository at this point in the history
  • Loading branch information
aronwk-aaron committed Sep 29, 2023
1 parent b24775f commit cebdf0d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions migrations/dlu/11_fix_cheat_detection_table.sql
Original file line number Diff line number Diff line change
@@ -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
);

0 comments on commit cebdf0d

Please sign in to comment.