Commit Graph

12 Commits

Author SHA1 Message Date
Loz Calver
3291ac6d73 Update for 4.x indexes API (closes #45) 2018-05-24 12:20:55 +01:00
Damian Mooyman
2b6a70e529
Merge remote-tracking branch 'origin/1'
# Conflicts:
#	code/MSSQLDatabase.php
#	code/MSSQLSchemaManager.php
#	composer.json
2017-12-07 16:05:30 +13:00
Brett Tasker
dac4be1a51 Fix DROP INDEX not checking correct schema 2017-02-15 15:24:46 +13:00
Andrew O'Neil
d9ec128735 Fix index issues in /dev/build 2017-02-03 11:47:48 +11:00
Damian Mooyman
da6cefac06 Upgrade code for core namespaces 2016-08-30 13:08:11 +12:00
Damian Mooyman
9309cf3a50 API Namespace MSSQL connector (#31)
API Update to support customtable names
Update to support new namespaced orm
Cleanup PHPDoc
2016-07-15 13:57:54 +12:00
Will Rossiter
2e64e44087 FIX: Check index exists before dropping 2016-07-13 14:47:38 +12:00
helpfulrobot
4badb07597 Converted to PSR-2 2015-12-18 07:50:59 +13:00
ClayLennart
15ff8640a2 Add bigint support 2014-07-15 09:34:19 +02:00
Sean Harvey
093df443ea Fixing use of "bigint" and "decimal" for pure integer types.
See https://github.com/silverstripe/silverstripe-mssql/issues/14
for more info.

"bigint" doesn't work for PHP 32-bit, as the integer could get too big
for PHP to be able to interpret the value as an integer type. In that
case it would try to approximate it as a float, but that could lead
to a bad assumption for identity columns.

For compatibility, stick with standard "int" type which has a maximum
value of 2147483647.

Note that MySQLAdapter already has this maximum, so changing it to
this keeps this database adapter consistent with MySQL.
2014-07-11 13:46:44 +12:00
Sean Harvey
a6a9b25901 Removing reference to postgres, it doesn't belong in the mssql module. 2014-07-11 13:41:45 +12:00
Damian Mooyman
758fe810a5 API Upgraded module to use new database ORM 2014-07-11 09:46:32 +12:00