Commit 612bc256 authored by Timothy Stack's avatar Timothy Stack

Tweak to the checkups tables.

parent a137ddb1
......@@ -21,6 +21,7 @@ CREATE TABLE accessed_files (
CREATE TABLE active_checkups (
object varchar(128) NOT NULL default '',
object_type varchar(64) NOT NULL default '',
type varchar(64) NOT NULL default '',
state varchar(16) NOT NULL default 'new',
start datetime default NULL,
......@@ -131,6 +132,7 @@ CREATE TABLE checkup_types (
CREATE TABLE checkups (
object varchar(128) NOT NULL default '',
object_type varchar(64) NOT NULL default '',
type varchar(64) NOT NULL default '',
next datetime default NULL,
PRIMARY KEY (object,type)
......@@ -142,6 +144,7 @@ CREATE TABLE checkups (
CREATE TABLE checkups_temp (
object varchar(128) NOT NULL default '',
object_type varchar(64) NOT NULL default '',
type varchar(64) NOT NULL default '',
next datetime default NULL,
PRIMARY KEY (object,type)
......
......@@ -3039,6 +3039,7 @@ last_net_act,last_cpu_act,last_ext_act);
CREATE TABLE active_checkups (
object varchar(128) NOT NULL default '',
object_type varchar(64) NOT NULL default '',
type varchar(64) NOT NULL default '',
state varchar(16) NOT NULL default 'new',
start datetime default NULL,
......@@ -3055,6 +3056,7 @@ last_net_act,last_cpu_act,last_ext_act);
CREATE TABLE checkups (
object varchar(128) NOT NULL default '',
object_type varchar(64) NOT NULL default '',
type varchar(64) NOT NULL default '',
next datetime default NULL,
PRIMARY KEY (object,type)
......@@ -3062,6 +3064,7 @@ last_net_act,last_cpu_act,last_ext_act);
CREATE TABLE checkups_temp (
object varchar(128) NOT NULL default '',
object_type varchar(64) NOT NULL default '',
type varchar(64) NOT NULL default '',
next datetime default NULL,
PRIMARY KEY (object,type)
......@@ -3073,4 +3076,4 @@ last_net_act,last_cpu_act,last_ext_act);
alter table archives add date_archived int(10) unsigned \
NOT NULL default '0';
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment