mirror of
https://github.com/silverstripe/silverstripe-mssql
synced 2024-10-22 08:05:53 +02:00
Add bigint support
This commit is contained in:
parent
05faf24483
commit
15ff8640a2
@ -733,6 +733,16 @@ class MSSQLSchemaManager extends DBSchemaManager {
|
||||
return 'int not 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) {
|
||||
return 'bigint not null default ' . (int) $values['default'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Return a datetime type-formatted string
|
||||
* For MS SQL, we simply return the word 'timestamp', no other parameters are necessary
|
||||
|
Loading…
Reference in New Issue
Block a user