create table events (
  id int auto_increment primary key,
  object_type int not null,
  object_id int,
  object_prop char(16) not null default '',
  event_type int not null,
  count int not null default 1,
  event int not null default 0,
  event_prop char(16) not null default ''
);
