Commit f37d228e authored by Clare Lenihan's avatar Clare Lenihan Committed by Clare Lenihan

adding a deleted field to the group table

increases the version number
parent 497d5bfa
......@@ -276,6 +276,7 @@
<FIELD NAME="owner" TYPE="int" LENGTH="10" NOTNULL="true" />
<FIELD NAME="ctime" TYPE="datetime" NOTNULL="true" />
<FIELD NAME="mtime" TYPE="datetime" NOTNULL="true" />
<FIELD NAME="deleted" TYPE="int" LENGTH="1" NOTNULL="true" DEFAULT="0" />
</FIELDS>
<KEYS>
<KEY NAME="primary" TYPE="primary" FIELDS="id" />
......
......@@ -777,6 +777,14 @@ function xmldb_core_upgrade($oldversion=0) {
execute_sql('ALTER TABLE {institution} ADD COLUMN maxuseraccounts bigint');
}
if ($oldversion < 2008011400) {
$table = new XMLDBTable('group');
$field = new XMLDBField('deleted');
$field->setAttributes(XMLDB_TYPE_INTEGER, 1, XMLDB_UNSIGNED, XMLDB_NOTNULL, null, null, null, 0);
add_field($table, $field);
}
return $status;
}
......
......@@ -27,7 +27,7 @@
defined('INTERNAL') || die();
$config = new StdClass;
$config->version = 2008010800;
$config->version = 2008011400;
$config->release = '1.0.0alpha1dev';
$config->minupgradefrom = 2007080700;
$config->minupgraderelease = '0.8.0 (release tag 0.8.0_RELEASE)';
......
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