mirror of
https://github.com/documize/community.git
synced 2025-07-22 14:49:42 +02:00
record IP in events
This commit is contained in:
parent
2d5b8e652f
commit
c797a87eb9
5 changed files with 41 additions and 3 deletions
|
@ -6,6 +6,7 @@ CREATE TABLE IF NOT EXISTS `userevent` (
|
|||
`orgid` CHAR(16) NOT NULL COLLATE utf8_bin,
|
||||
`userid` CHAR(16) NOT NULL COLLATE utf8_bin,
|
||||
`eventtype` VARCHAR(100) NOT NULL DEFAULT '',
|
||||
`ip` VARCHAR(39) NOT NULL COLLATE utf8_bin DEFAULT '',
|
||||
`created` TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
CONSTRAINT pk_id PRIMARY KEY (id),
|
||||
INDEX `idx_userevent_orgid` (`orgid` ASC),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue