Example #1
0
 /**
  * compare schemes of common tables
  */
 protected function compareCommonTablesScheme()
 {
     if (sizeof($this->commonTables) > 0) {
         foreach ($this->commonTables as $tblName => $table) {
             $currentTable = $this->currentDb->getTableColumns($tblName);
             $publishedTable = $this->publishedDb->getTableColumns($tblName);
             $this->createDifferenceInsideTable($tblName, $currentTable, $publishedTable);
             $this->createIndexDifference($tblName);
         }
     }
 }