mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-12 23:37:02 +02:00
online users fix
This commit is contained in:
@ -371,9 +371,10 @@ create table if not exists `customer_settings` (
|
||||
|
||||
|
||||
create table if not exists `online` (
|
||||
`username` varchar(255) not null unique,
|
||||
`username` varchar(255) not null,
|
||||
`ts` int default 0,
|
||||
`last_activity` int default 0,
|
||||
`ipaddr` varchar(255) default null
|
||||
`ipaddr` varchar(255) default null,
|
||||
unique(`username`,`ipaddr`)
|
||||
) Engine=InnoDB;
|
||||
|
||||
|
Reference in New Issue
Block a user