Commit 26ea5792 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Minor changes to the archives table; record when the archive is

archived to long term storage.
parent 36345fd8
...@@ -61,6 +61,8 @@ CREATE TABLE archives ( ...@@ -61,6 +61,8 @@ CREATE TABLE archives (
idx int(10) unsigned NOT NULL auto_increment, idx int(10) unsigned NOT NULL auto_increment,
directory tinytext, directory tinytext,
date_created int(10) unsigned NOT NULL default '0', date_created int(10) unsigned NOT NULL default '0',
archived tinyint(1) default '0',
date_archived int(10) unsigned NOT NULL default '0',
PRIMARY KEY (idx) PRIMARY KEY (idx)
) TYPE=MyISAM; ) TYPE=MyISAM;
......
...@@ -3066,3 +3066,11 @@ last_net_act,last_cpu_act,last_ext_act); ...@@ -3066,3 +3066,11 @@ last_net_act,last_cpu_act,last_ext_act);
next datetime default NULL, next datetime default NULL,
PRIMARY KEY (object,type) PRIMARY KEY (object,type)
) TYPE=MyISAM; ) TYPE=MyISAM;
4.27: Some changes to the archive table:
alter table archives add archived tinyint(1) default '0';
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