prefix}lesson_pages` SET qtype = 3 WHERE qtype = 0"); } if ($oldversion < 2004032400) { table_column("lesson", "", "usegrademax", "INTEGER", "4", "UNSIGNED", "0", "NOT NULL", "grade"); table_column("lesson", "", "minquestions", "INTEGER", "4", "UNSIGNED", "0", "NOT NULL", "nextpagedefault"); } return true; } ?>