Commit d382f155 authored by Penny Leach's avatar Penny Leach
Browse files

added usr_watchlist_artefact.deleted (grrr)

parent 5f85ee08
......@@ -757,6 +757,7 @@
<FIELD NAME="view" TYPE="int" LENGTH="10" NOTNULL="true" />
<FIELD NAME="ctime" TYPE="datetime" NOTNULL="true" />
<FIELD NAME="recurse" TYPE="int" LENGTH="1" NOTNULL="true" DEFAULT="1" />
<FIELD NAME="deleted" TYPE="int" LENGTH="1" NOTNULL="true" DEFAULT="0" />
</FIELDS>
<KEYS>
<KEY NAME="primary" TYPE="primary" FIELDS="usr,artefact,view" />
......
......@@ -189,6 +189,13 @@ function xmldb_core_upgrade($oldversion=0) {
insert_record('activity_type', $at);
}
if ($oldversion < 2007012500) {
$table = new XMLDBTable('usr_watchlist_artefact');
$field = new XMLDBFIELD('deleted');
$field->setAttributes(XMLDB_TYPE_INTEGER, 1, false, true, false, false, false, 0);
add_field($table, $field);
}
return $status;
}
......
......@@ -27,7 +27,7 @@
defined('INTERNAL') || die();
$config = new StdClass;
$config->version = 2007012301;
$config->version = 2007012500;
$config->release = '0.4.2';
$config->minupgradefrom = 2006121501;
$config->minupgraderelease = '0.1 (build tag BUILD_20061215)';
......
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