Skip to content

Commit

Permalink
Merging
Browse files Browse the repository at this point in the history
  • Loading branch information
lonnieezell committed Sep 23, 2017
2 parents b81d559 + 39a30a1 commit 94db0fe
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions system/Database/Postgre/Forge.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,25 @@ protected function _alterTable($alter_type, $table, $field)
return $sqls;
}

//--------------------------------------------------------------------

/**
* Process column
*
* @param array $field
* @return string
*/
protected function _processColumn($field)
{
return $this->db->escapeIdentifiers($field['name'])
. ' ' . $field['type'] . $field['length']
. $field['default']
. $field['null']
. $field['auto_increment']
. $field['unique'];
}


//--------------------------------------------------------------------

/**
Expand Down

0 comments on commit 94db0fe

Please sign in to comment.