From 15ff8640a20627ccafab8269db0acd5deec59a17 Mon Sep 17 00:00:00 2001 From: ClayLennart Date: Tue, 15 Jul 2014 09:34:19 +0200 Subject: [PATCH] Add bigint support --- code/MSSQLSchemaManager.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/code/MSSQLSchemaManager.php b/code/MSSQLSchemaManager.php index 9833fcc..6d066a1 100644 --- a/code/MSSQLSchemaManager.php +++ b/code/MSSQLSchemaManager.php @@ -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