Skip to content

Commit

Permalink
Merge pull request #6 from creative-commoners/pulls/2/upgrade-cms5
Browse files Browse the repository at this point in the history
DEP Silverstripe CMS 5 compatibility
  • Loading branch information
tractorcow authored Jul 31, 2023
2 parents c7454d0 + b5ca75c commit eff18f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
6 changes: 0 additions & 6 deletions _config/proxydb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,11 @@ After: '#databaseconnectors'
SilverStripe\Core\Injector\Injector:
MySQLDatabase:
factory: TractorCow\SilverStripeProxyDB\ProxyDBFactory
MySQLPDODatabase:
factory: TractorCow\SilverStripeProxyDB\ProxyDBFactory
---
Name: proxydb-postgresql
After: '#postgresqlconnectors'
---
SilverStripe\Core\Injector\Injector:
PostgrePDODatabase:
factory: TractorCow\SilverStripeProxyDB\ProxyDBFactory
PostgreSQLDatabase:
factory: TractorCow\SilverStripeProxyDB\ProxyDBFactory

Expand All @@ -22,7 +18,5 @@ Name: proxydb-sqlite
After: '#sqlite3connectors'
---
SilverStripe\Core\Injector\Injector:
SQLite3PDODatabase:
factory: TractorCow\SilverStripeProxyDB\ProxyDBFactory
SQLite3Database:
factory: TractorCow\SilverStripeProxyDB\ProxyDBFactory
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
}
},
"require": {
"silverstripe/framework": "^4@dev",
"silverstripe/vendor-plugin": "^1.0",
"silverstripe/framework": "^5",
"silverstripe/vendor-plugin": "^2",
"tractorcow/classproxy": "^1"
},
"autoload": {
Expand Down

0 comments on commit eff18f1

Please sign in to comment.