Skip to content

Commit

Permalink
workaround schema validation bug related to migrations table.
Browse files Browse the repository at this point in the history
  • Loading branch information
stopfstedt committed Mar 13, 2024
1 parent 15a6cdd commit 9a3d7a3
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion config/packages/doctrine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@ doctrine:
default_table_options:
charset: utf8mb4
collate: utf8mb4_unicode_ci

# KLUDGE!
# Temporary workaround failing schema validation regression in Doctrine 3/DBAL 4
# related to the database migration table.
# see https://symfony.com/bundles/DoctrineMigrationsBundle/current/index.html#manual-tables
# see https://github.com/doctrine/migrations/issues/1406
# [ST 2024/03/13]
schema_filter: ~^(?!migration_)~
# IMPORTANT: You MUST configure your server version,
# either here or in the DATABASE_URL env var (see .env file)
#server_version: '16'
Expand Down

0 comments on commit 9a3d7a3

Please sign in to comment.