From ec2e146dc520046686ea3891a7671dd717b30169 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Mon, 27 Aug 2007 14:43:30 +0000 Subject: [PATCH] New tables must have the id unsigned. Merged from MOODLE_18_STABLE --- admin/xmldb/actions/new_table/new_table.class.php | 1 + 1 file changed, 1 insertion(+) 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); -- 2.39.5