create or replace table statevents
(
	eventId int unsigned not null,
	accountId int unsigned not null,
	date date not null,
	gamemode tinyint unsigned not null,
	serverGroup varchar(100) not null,
	type tinyint unsigned not null,
	value smallint unsigned not null,
	primary key (eventId, accountId, date, gamemode, serverGroup, type)
)
charset=latin1;

