added online users feature

This commit is contained in:
SJ
2013-07-24 22:14:05 +02:00
parent 920f4208ba
commit 93e9c7ce33
16 changed files with 159 additions and 1 deletions

View File

@ -370,3 +370,10 @@ create table if not exists `customer_settings` (
) Engine=InnoDB;
create table if not exists `online` (
`username` varchar(255) not null unique,
`ts` int default 0,
`last_activity` int default 0,
`ipaddr` varchar(255) default null
) Engine=InnoDB;

View File

@ -23,6 +23,12 @@ create table if not exists `customer_settings` (
`branding_logo` varchar(255) default null,
`support_link` varchar(255) default null,
`colour` varchar(255) default null
) Engine=InnoDB;
) Engine=InnoDB;
create table if not exists `online` (
`username` varchar(255) not null unique,
`ts` int default 0,
`last_activity` int default 0,
`ipaddr` varchar(255) default null
) Engine=InnoDB;