Skip to content

Commit

Permalink
Add bigint support
Browse files Browse the repository at this point in the history
  • Loading branch information
ClayLennart authored and ClayLennart committed Jul 15, 2014
1 parent eb6280e commit f9153ab
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions code/SQLite3SchemaManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,16 @@ public function int($values, $asDbValue = false){
return "INTEGER({$values['precision']}) " . strtoupper($values['null']) . " DEFAULT " . (int)$values['default'];
}

/**
* Return a bigint type-formatted string
*
* @params array $values Contains a tokenised list of info about this data type
* @return string
*/
public function bigint($values, $asDbValue = false){
return $this->int($values, $asDbValue);
}

/**
* Return a datetime type-formatted string
* For SQLite3, we simply return the word 'TEXT', no other parameters are necessary
Expand Down

0 comments on commit f9153ab

Please sign in to comment.