online users fix

This commit is contained in:
SJ
2013-07-25 11:56:52 +02:00
parent 3664b775bb
commit 3d8d08f2bd
5 changed files with 20 additions and 7 deletions

View File

@ -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;