-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Passive support for partitioned tables on Postgres (#6516)
<!-- Fill in the relevant information below to help triage your pull request. --> | Q | A |------------- | ----------- | Type | improvement Partitioned tables is a complex topic which [is not fully supported by Doctrine](#4657). Currently, with PostgreSQL, Doctrine does not "see" partitioned tables, and only "sees" partitions, which is problematic and should be done the other way. This PR fixes this in `PostgreSQLSchemaManager::selectTableColumns()`. **Before this PR:** - does not see at all "partitioned tables" (which are the actual tables related to an entity) - doctrine suggest to remove all "partitions" **After this PR:** - `doctrine:schema:validate` is happy, even if tables have been partitioned manually see #4657 (comment) Note: I'd want to see if maintainers folks are willing to accept such modification before digging into the tests for this
- Loading branch information
Showing
2 changed files
with
65 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters