mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 10:55:43 +00:00
feat: Added logs_ip_action + more (#1157)
This commit is contained in:
committed by
Francesco Borzì
parent
6750fd5a73
commit
2a71b2a666
17
data/sql/updates/pending_db_auth/rev_1546018964238773800.sql
Normal file
17
data/sql/updates/pending_db_auth/rev_1546018964238773800.sql
Normal file
@@ -0,0 +1,17 @@
|
||||
INSERT INTO version_db_auth (`sql_rev`) VALUES ('1546018964238773800');
|
||||
|
||||
CREATE TABLE `logs_ip_actions` (
|
||||
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT 'Unique Identifier',
|
||||
`account_id` INT(10) UNSIGNED NOT NULL COMMENT 'Account ID',
|
||||
`character_guid` INT(10) UNSIGNED NOT NULL COMMENT 'Character Guid',
|
||||
`type` TINYINT(3) UNSIGNED NOT NULL,
|
||||
`ip` VARCHAR(15) NOT NULL DEFAULT '127.0.0.1',
|
||||
`systemnote` TEXT NULL COMMENT 'Notes inserted by system',
|
||||
`unixtime` INT(10) UNSIGNED NOT NULL COMMENT 'Unixtime',
|
||||
`time` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Timestamp',
|
||||
`comment` TEXT NULL COMMENT 'Allows users to add a comment',
|
||||
PRIMARY KEY (`id`)
|
||||
)
|
||||
COMMENT='Used to log ips of individual actions'
|
||||
COLLATE='utf8_general_ci'
|
||||
ENGINE=InnoDB;
|
||||
Reference in New Issue
Block a user