mirror of
https://github.com/silverstripe/silverstripe-mssql
synced 2024-10-22 08:05:53 +02:00
Update connectors.yml
Updated to support Symfony 4 in CMS 4.7.
This commit is contained in:
parent
5ce3cf26bd
commit
0f4decea92
@ -6,23 +6,23 @@ SilverStripe\Core\Injector\Injector:
|
||||
MSSQLPDODatabase:
|
||||
class: 'SilverStripe\MSSQL\MSSQLDatabase'
|
||||
properties:
|
||||
connector: %$PDOConnector
|
||||
schemaManager: %$MSSQLSchemaManager
|
||||
queryBuilder: %$MSSQLQueryBuilder
|
||||
connector: '%$PDOConnector'
|
||||
schemaManager: '%$MSSQLSchemaManager'
|
||||
queryBuilder: '%$MSSQLQueryBuilder'
|
||||
# Uses sqlsrv_connect
|
||||
MSSQLDatabase:
|
||||
class: 'SilverStripe\MSSQL\MSSQLDatabase'
|
||||
properties:
|
||||
connector: %$SQLServerConnector
|
||||
schemaManager: %$MSSQLSchemaManager
|
||||
queryBuilder: %$MSSQLQueryBuilder
|
||||
connector: '%$SQLServerConnector'
|
||||
schemaManager: '%$MSSQLSchemaManager'
|
||||
queryBuilder: '%$MSSQLQueryBuilder'
|
||||
# Uses sqlsrv_connect to connect to a MS Azure Database
|
||||
MSSQLAzureDatabase:
|
||||
class: 'SilverStripe\MSSQL\MSSQLAzureDatabase'
|
||||
properties:
|
||||
connector: %$SQLServerConnector
|
||||
schemaManager: %$MSSQLSchemaManager
|
||||
queryBuilder: %$MSSQLQueryBuilder
|
||||
connector: '%$SQLServerConnector'
|
||||
schemaManager: '%$MSSQLSchemaManager'
|
||||
queryBuilder: '%$MSSQLQueryBuilder'
|
||||
SQLServerConnector:
|
||||
class: 'SilverStripe\MSSQL\SQLServerConnector'
|
||||
type: prototype
|
||||
|
Loading…
Reference in New Issue
Block a user