From: stronk7 Date: Mon, 27 Aug 2007 14:43:30 +0000 (+0000) Subject: New tables must have the id unsigned. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=ec2e146dc520046686ea3891a7671dd717b30169;p=moodle.git New tables must have the id unsigned. Merged from MOODLE_18_STABLE --- diff --git a/admin/xmldb/actions/new_table/new_table.class.php b/admin/xmldb/actions/new_table/new_table.class.php index 08cf5d9275..6a6b2736d9 100644 --- a/admin/xmldb/actions/new_table/new_table.class.php +++ b/admin/xmldb/actions/new_table/new_table.class.php @@ -88,6 +88,7 @@ class new_table extends XMLDBAction { $field->setType(XMLDB_TYPE_INTEGER); $field->setLength(10); $field->setNotNull(true); + $field->setUnsigned(true); $field->setSequence(true); $field->setComment('id of the table, please edit me'); $field->setLoaded(true);