Index: test.class.php =================================================================== RCS file: /cvsroot/moodle/moodle/admin/xmldb/actions/test/test.class.php,v retrieving revision 1.53 diff -u -r1.53 test.class.php --- test.class.php 20 Nov 2009 19:48:03 -0000 1.53 +++ test.class.php 10 Jun 2010 08:51:58 -0000 @@ -775,6 +775,7 @@ case 'mssql': case 'oracle': case 'postgres': + case 'sqlsrv': $create_enum = "ALTER TABLE {anothertest} ADD CONSTRAINT xmldb_ck CHECK (type IN ('single', 'news', 'general', 'social', 'eachuser', 'teacher', 'qanda'))"; break; } @@ -824,6 +825,7 @@ case 'mssql': case 'oracle': case 'postgres': + case 'sqlsrv': $create_enum = "ALTER TABLE {anothertest} ADD CONSTRAINT xmldb_ck CHECK (type IN ('single', 'news', 'general', 'social', 'eachuser', 'teacher', 'qanda'))"; break; }