Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add YAML Migrations #3497

Merged
merged 4 commits into from
Dec 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions config/bolt/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ caching:
backend_menu: ~
files_index: ~
list_format: false # Run `bin/console cache:list-format; bin/console bolt:update-list-format` to clear and rebuild these

# The theme to use.
#
# Dont edit the provided templates directly, because they _will_ get updated
Expand Down Expand Up @@ -65,7 +65,7 @@ headers:
# canonical, so its clear which is the primary address of the site.
#
# If you include `https://`, it will be included in the canonical urls.
canonical: https://example.org
#canonical: https://example.org

# If you want to override the canonical template, from the theme:
#canonical_template: 'partials/_canonical.html.twig'
Expand Down
2 changes: 1 addition & 1 deletion config/packages/prod/doctrine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ framework:
doctrine.result_cache_pool:
adapter: cache.app
doctrine.system_cache_pool:
adapter: cache.system
adapter: cache.app
12 changes: 12 additions & 0 deletions yaml-migrations/m_2022-03-23-doctrine.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Adding JSON_VALUE, see https://github.com/bolt/core/pull/3135
# From: https://github.com/bolt/core/issues/2088#issuecomment-1076232230

file: packages/doctrine.yaml
since: 5.1.6

add:
doctrine:
orm:
dql:
string_functions:
JSON_VALUE: Bolt\Doctrine\Functions\JsonValue
11 changes: 11 additions & 0 deletions yaml-migrations/m_2023-10-26-prod-doctrine.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# See: https://github.com/bolt/project/commit/f33248d487b5b6a09a38224f890d259f9ea07003#diff-79c1dc283ac8f8d1d02991db661137a22a20b13cd277962eae1d0dbfb2d96467

file: packages/prod/doctrine.yaml
since: 5.2.0

add:
framework:
cache:
pools:
doctrine.system_cache_pool:
adapter: cache.app
10 changes: 10 additions & 0 deletions yaml-migrations/m_2023-10-26-services_bolt.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Add `bind`
# See: https://github.com/bolt/core/commit/a5ffe5df95cac71faa76a95eca1a7720c40532ed

file: services_bolt.yaml
since: 5.2.0

add:
services:
_defaults:
bind: { }
Loading