docs: Document PostgreSQL database support for Mautic 7.x#310
Draft
promptless-for-oss wants to merge 2 commits intomautic:7.1from
Draft
docs: Document PostgreSQL database support for Mautic 7.x#310promptless-for-oss wants to merge 2 commits intomautic:7.1from
promptless-for-oss wants to merge 2 commits intomautic:7.1from
Conversation
Adds comprehensive developer documentation for PostgreSQL support: - Development setup: Added PostgreSQL configuration example alongside MySQL - Database compatibility: New section covering case-insensitive matching, column quoting, GROUP BY requirements, and platform detection - Testing: Added multi-database testing guidance with PostgreSQL config Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
| :returntype: string No newline at end of file | ||
| :returntype: string | ||
|
|
||
| Database compatibility |
Author
There was a problem hiding this comment.
Database compatibility section based on PR #15926. Key implementation files: CommonRepository.php, GeneratedColumnProvider.php.
Source: mautic/mautic#15926
| **MySQL/MariaDB configuration:** | ||
|
|
||
| .. code-block:: php | ||
|
|
Author
There was a problem hiding this comment.
PostgreSQL configuration example from PR #15926. Uses pdo_pgsql driver on port 5432, requires PostgreSQL 16+.
Source: mautic/mautic#15926
|
|
||
| Mautic supports MySQL, MariaDB, and PostgreSQL. The CI pipeline runs tests against all supported databases. Make sure your code works across all databases when developing features or writing tests. | ||
|
|
||
| Supported database versions |
Author
There was a problem hiding this comment.
Multi-database testing section based on PR #15926. CI tests run on PostgreSQL 16/18, MariaDB 10.11/11.4, MySQL 8.4/9.4.
Source: mautic/mautic#15926
Updates the GROUP BY documentation to clarify that MySQL 8+ with ONLY_FULL_GROUP_BY SQL mode enabled also enforces strict GROUP BY rules, not just PostgreSQL. This ensures developers write compliant queries that work across all supported databases and SQL modes.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Open this suggestion in Promptless to view citations and reasoning process
Documents the reintroduction of PostgreSQL database support in Mautic 7.x (mautic/mautic#15926).
Changes
Development setup (
docs/development-environment/setup.rst):Database compatibility (
docs/plugins/database.rst):getILikeExpression,getLowerLikeExpression)camelCaseidentifiersTesting (
docs/testing/e2e_test_suite.rst):Why this matters for developers
CommonRepositoryabstract platform differencesSource: PR #15926 - Reintroducing PostgreSQL Database Support in Mautic 7.x