]> git.mjollnir.org Git - moodle.git/commitdiff
New tables must have the id unsigned.
authorstronk7 <stronk7>
Mon, 27 Aug 2007 14:43:30 +0000 (14:43 +0000)
committerstronk7 <stronk7>
Mon, 27 Aug 2007 14:43:30 +0000 (14:43 +0000)
Merged from MOODLE_18_STABLE

admin/xmldb/actions/new_table/new_table.class.php

index 08cf5d927547024a5797a131340e5f0b60c91ee3..6a6b2736d91b48420e537586dfc489779a5f7197 100644 (file)
@@ -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);