AudioDidact\DB\SQLite::makeAlterQuery
Generates SQL query to add missing columns to the given tables
Signature
protected function makeAlterQuery(array
$currentTables,
array
$correctTables )
Parameters
$currentTables
—
array
- dictionary in the form of ["tableName"=>[table_schema]] representing the values
that are currently existing in the database
$correctTables
—
array
- dictionary in the form of ["tableName"=>[table_schema]] representing the correct
values
Returns
- string
Parent Implementation
Test Coverage
Information
- Coverage: 7/7 Lines (100%)
- Tests: 1
- Passed: 1 (100%)
Tests
- [ PASSED ] — SQLiteTest::testMakeDB