示例#1
0
文件: Base.php 项目: azema/phigrate
 /**
  * Add foreignKey
  *
  * @param string $tableName  The table name to create foreign key
  * @param string $columnName The column name to create foreign key
  * @param string $tableRef   The table name of constrainte
  * @param string $columnRef  The column name of constrainte
  * @param array  $options    The options definition of the foreign key
  *
  * @return boolean
  */
 public function addForeignKey($tableName, $columnName, $tableRef, $columnRef, $options = array())
 {
     return $this->_adapter->addForeignKey($tableName, $columnName, $tableRef, $columnRef, $options);
 }