예제 #1
0
파일: Schema.php 프로젝트: df-arif/df-core
 /**
  * Compares two table names.
  * The table names can be either quoted or unquoted. This method
  * will consider both cases.
  *
  * @param string $name1 table name 1
  * @param string $name2 table name 2
  *
  * @return boolean whether the two table names refer to the same table.
  */
 public function compareTableNames($name1, $name2)
 {
     $name1 = str_replace(['[', ']'], '', $name1);
     $name2 = str_replace(['[', ']'], '', $name2);
     return parent::compareTableNames(strtolower($name1), strtolower($name2));
 }
예제 #2
0
파일: Schema.php 프로젝트: df-arif/df-core
 /**
  * Compares two table names.
  * The table names can be either quoted or unquoted. This method
  * will consider both cases.
  *
  * @param string $name1 table name 1
  * @param string $name2 table name 2
  *
  * @return boolean whether the two table names refer to the same table.
  */
 public function compareTableNames($name1, $name2)
 {
     return parent::compareTableNames(strtolower($name1), strtolower($name2));
 }