NAME

WeBWorK::Utils::CourseDBIntegrityCheck - Check that course database tables agree with database schema.

checkCourseTables

Usage: $CIchecker->checkCourseTables($courseName);

Checks the course tables in the mysql database and ensures that they are the same as the ones specified by the databaseLayout

updateCourseTables

Usage: $CIchecker-> updateCourseTables($courseName, $table_names);

Adds schema tables to the database that had been missing from the database.

checkTableFields

Usage: $CIchecker->checkTableFields($courseName, $table);

Checks the course tables in the mysql database and insures that they are the same as the ones specified by the databaseLayout

updateTableFields

Usage: $CIchecker->updateTableFields($courseName, $table);

Checks the fields in the table in the mysql database and insures that they are the same as the ones specified by the databaseLayout