Update connectors.yml

Updated to support Symfony 4 in CMS 4.7.
This commit is contained in:
mr-macedawg 2021-01-14 19:41:43 +10:00 committed by GitHub
parent 5ce3cf26bd
commit 0f4decea92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,23 +6,23 @@ SilverStripe\Core\Injector\Injector:
MSSQLPDODatabase: MSSQLPDODatabase:
class: 'SilverStripe\MSSQL\MSSQLDatabase' class: 'SilverStripe\MSSQL\MSSQLDatabase'
properties: properties:
connector: %$PDOConnector connector: '%$PDOConnector'
schemaManager: %$MSSQLSchemaManager schemaManager: '%$MSSQLSchemaManager'
queryBuilder: %$MSSQLQueryBuilder queryBuilder: '%$MSSQLQueryBuilder'
# Uses sqlsrv_connect # Uses sqlsrv_connect
MSSQLDatabase: MSSQLDatabase:
class: 'SilverStripe\MSSQL\MSSQLDatabase' class: 'SilverStripe\MSSQL\MSSQLDatabase'
properties: properties:
connector: %$SQLServerConnector connector: '%$SQLServerConnector'
schemaManager: %$MSSQLSchemaManager schemaManager: '%$MSSQLSchemaManager'
queryBuilder: %$MSSQLQueryBuilder queryBuilder: '%$MSSQLQueryBuilder'
# Uses sqlsrv_connect to connect to a MS Azure Database # Uses sqlsrv_connect to connect to a MS Azure Database
MSSQLAzureDatabase: MSSQLAzureDatabase:
class: 'SilverStripe\MSSQL\MSSQLAzureDatabase' class: 'SilverStripe\MSSQL\MSSQLAzureDatabase'
properties: properties:
connector: %$SQLServerConnector connector: '%$SQLServerConnector'
schemaManager: %$MSSQLSchemaManager schemaManager: '%$MSSQLSchemaManager'
queryBuilder: %$MSSQLQueryBuilder queryBuilder: '%$MSSQLQueryBuilder'
SQLServerConnector: SQLServerConnector:
class: 'SilverStripe\MSSQL\SQLServerConnector' class: 'SilverStripe\MSSQL\SQLServerConnector'
type: prototype type: prototype