Merge pull request #6 from ClaySolutions/master

Add bigint support
This commit is contained in:
Damian Mooyman 2015-02-25 08:51:33 +13:00
commit de9c9274da

View File

@ -506,6 +506,16 @@ class SQLite3SchemaManager extends DBSchemaManager {
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