AudioDidact\DB\MySQLDAL::verifyDB
Verifies the currently connected database against the current schema
Signature
public function verifyDB()
Returns
- int
- Returns 0 if all is well, 1 if the user table or feed table do not exist, and 2 if the tables exist
but the schema inside is wrong
Errors/Exceptions
-
PDOException
Parent Implementation
Test Coverage
Information
- Coverage: 8/12 Lines (66.666666666667%)
- Tests: 3
- Passed: 3 (100%)
Tests
- [ PASSED ] — MySQLDALTest::testMakeDB
- [ PASSED ] — MySQLDALTest::testUpdateDB
- [ PASSED ] — SQLiteTest::testMakeDB