mirror of
https://github.com/silverstripe/silverstripe-sqlite3
synced 2024-10-22 15:05:37 +00:00
Add bigint support
This commit is contained in:
parent
eb6280e78f
commit
f9153ab6c2
@ -506,6 +506,16 @@ class SQLite3SchemaManager extends DBSchemaManager {
|
|||||||
return "INTEGER({$values['precision']}) " . strtoupper($values['null']) . " DEFAULT " . (int)$values['default'];
|
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
|
* Return a datetime type-formatted string
|
||||||
* For SQLite3, we simply return the word 'TEXT', no other parameters are necessary
|
* For SQLite3, we simply return the word 'TEXT', no other parameters are necessary
|
||||||
|
Loading…
x
Reference in New Issue
Block a user