diff --git a/sql/database-create.sql b/sql/database-create.sql index 5943defd593be419df0fe4684f2bd0f29dec32cd..b0afe3d6dd37de6ed44d971b287e3fb6c2743aff 100644 --- a/sql/database-create.sql +++ b/sql/database-create.sql @@ -61,6 +61,8 @@ CREATE TABLE archives ( idx int(10) unsigned NOT NULL auto_increment, directory tinytext, 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) ) TYPE=MyISAM; diff --git a/sql/database-migrate.txt b/sql/database-migrate.txt index b7cc0abd2e1b67594b9770c525c737158db20067..02be20a1cd700d2531ba548f0a4078fb9b9f7100 100644 --- a/sql/database-migrate.txt +++ b/sql/database-migrate.txt @@ -3066,3 +3066,11 @@ last_net_act,last_cpu_act,last_ext_act); next datetime default NULL, PRIMARY KEY (object,type) ) 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