1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 17:28:51 +02:00
phorge-phorge/resources/sql/patches/007.daemonlog.sql

21 lines
587 B
MySQL
Raw Normal View History

2011-03-15 21:38:14 +01:00
create database phabricator_daemon;
create table phabricator_daemon.daemon_log (
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
);
create table phabricator_daemon.daemon_logevent (
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)
);