add_timestamps() public method

Add timestamps
public add_timestamps ( string $table_name, string $created_column_name, string $updated_column_name ) : boolean
$table_name string The table name
$created_column_name string Created at column name
$updated_column_name string Updated at column name
return boolean
Ejemplo n.º 1
0
 /**
  * Add timestamps
  *
  * @param string $table_name  the name of the table
  * @param string $created_column_name Created at column name
  * @param string $updated_column_name Updated at column name
  *
  * @return boolean
  */
 public function add_timestamps($table_name, $created_column_name = "created_at", $updated_column_name = "updated_at")
 {
     return $this->_adapter->add_timestamps($table_name, $created_column_name, $updated_column_name);
 }