コード例 #1
0
ファイル: Diff.php プロジェクト: shahmaulik/zfcore
 /**
  * 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);
         }
     }
 }