2012-04-30 16:53:53 +02:00
|
|
|
create table {$NAMESPACE}_daemon.daemon_log (
|
2011-03-15 21:38:14 +01:00
|
|
|
id int unsigned not null auto_increment primary key,
|
|
|
|
daemon varchar(255) not null,
|
|
|
|
host varchar(255) not null,
|
|
|
|
pid int unsigned not null,
|
|
|
|
argv varchar(512) not null,
|
|
|
|
dateCreated int unsigned not null,
|
|
|
|
dateModified int unsigned not null
|
|
|
|
);
|
|
|
|
|
2012-04-30 16:53:53 +02:00
|
|
|
create table {$NAMESPACE}_daemon.daemon_logevent (
|
2011-03-15 21:38:14 +01:00
|
|
|
id int unsigned not null auto_increment primary key,
|
|
|
|
logID int unsigned not null,
|
|
|
|
logType varchar(4) not null,
|
|
|
|
message longblob not null,
|
|
|
|
epoch int unsigned not null,
|
|
|
|
key (logID, epoch)
|
|
|
|
);
|