Added missing PK causing problems in MySQL. Will test that later in

proper DDL tests...
This commit is contained in:
Eloy Lafuente
2009-11-03 10:20:56 +00:00
parent bcfc6dc5df
commit 7c47635220
+1
View File
@@ -2347,6 +2347,7 @@ class dml_test extends UnitTestCase {
$table->add_field('id', XMLDB_TYPE_INTEGER, '10', XMLDB_UNSIGNED, XMLDB_NOTNULL, XMLDB_SEQUENCE, null);
$table->add_field('course', XMLDB_TYPE_INTEGER, '10', XMLDB_UNSIGNED, XMLDB_NOTNULL, null, '0');
$table->add_key('primary', XMLDB_KEY_PRIMARY, array('id'));
$dbman->create_table($table);
$this->tables[$tablename] = $table;