Esempio n. 1
0
 /**
  * Adds a column to a database table
  *
  * @param string $tableName name of the target table
  * @param string $columnName name of column to be created
  * @param string $type type of table
  *         Possible values: string, text, integer, time, float, decimal,
  *                          datetime, timestamp, date, boolean, binary
  * @param array $options 
  * @return void
  */
 public function addColumn($tableName, $columnName, $type, $options = array())
 {
     $this->_connection->addColumn($tableName, $columnName, $type, $options);
 }