Skip to content

Commit

Permalink
NEW Allow database read-only replicas
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Sep 16, 2024
1 parent c21cf6d commit f8fec75
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions _config/routes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ After:
SilverStripe\Control\Director:
rules:
'admin': 'SilverStripe\Admin\AdminRootController'
must_use_primary_db_rules:
- admin
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
],
"require": {
"php": "^8.1",
"silverstripe/framework": "^5.3",
"silverstripe/framework": "^5.4",
"silverstripe/versioned": "^2",
"silverstripe/vendor-plugin": "^2"
},
Expand Down

0 comments on commit f8fec75

Please sign in to comment.