Skip to content

IBX-11939: Added sqlite platform support to ibexa:doctrine:schema:dump-sql - #42

Open
Steveb-p wants to merge 2 commits into
5.0from
feature/dump-sql-sqlite-platform-5.0
Open

IBX-11939: Added sqlite platform support to ibexa:doctrine:schema:dump-sql#42
Steveb-p wants to merge 2 commits into
5.0from
feature/dump-sql-sqlite-platform-5.0

Conversation

@Steveb-p

@Steveb-p Steveb-p commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Warning

This is the 5.0 follow-up to #41 (4.6). Review that PR first — this carries the same migration forward onto this branch.

🎫 Issue IBX-11939

Related PRs:

Package 4.6 5.0 6.0
ibexa/activity-log #166 #167 #168
ibexa/cart #172 #173 🔄 #174
ibexa/collaboration #115 #116
ibexa/connector-ai #198 #199
ibexa/connector-payum ⚠️ #39 #40 #41
ibexa/core #785 🩹 #787 🔄 🩹 #788 🩹
ibexa/corporate-account #369 #370 🔄 #371
ibexa/discounts #341 🩹 #342 🩹
ibexa/discounts-codes #50 #51
ibexa/doctrine-migrations #1 #2 #3
ibexa/doctrine-schema #41 #42this PR #43
ibexa/fieldtype-page #208 🩹 #209 🔄 🩹 #210 🩹
ibexa/form-builder #240 🩹 #241 🔄 🩹 #242 🩹
ibexa/measurement #133 #134 🔄 #135
ibexa/messenger #22 #23
ibexa/migrations #438 #439 #440
ibexa/oauth2-server 🔄 #48 #49 #50
ibexa/order-management #188 #189 🔄 #190
ibexa/payment #204 #205 🔄 #206
ibexa/product-catalog #1543 #1544 🔄 #1545
ibexa/product-catalog-date-time-attribute #53 #54
ibexa/product-catalog-symbol-attribute #17 #18
ibexa/scheduler #168 #169 🔄 #170
ibexa/segmentation #186 #187 🔄 #188
ibexa/share #190 #191
ibexa/shipping #154 #155 🔄 #156
ibexa/shopping-list #66 #67
ibexa/site-context #121
ibexa/site-factory #172 #173 🔄 🩹 #174 🩹
ibexa/taxonomy ⚠️ #431 #432 #433
ibexa/translations-management #174 #175
ibexa/user #128 #129 🔄 #130
ibexa/workflow #191 🩹 #192 🔄 🩹 #193 🩹

🔄 = this branch adds an upgrade migration (renames/FK-retargets existing schema), not just a fresh baseline.
🩹 = this branch also received a backported delta migration, converted from a legacy ibexa/installer upgrade/db/*.sql script (4.6.0 or later) that the original baseline-only migration didn't cover. See IBX-11939 upgrade-scripts backport report or that package's own PR description for details.
⚠️ = fixes a different, related problem (missing SchemaBuilderEvent support for a plain Doctrine ORM entity/table) — not a Doctrine Migrations baseline/upgrade migration like the rest of this table. See that package's own PR description for details.

Description:

DumpSqlCommand::PLATFORM_MAP supports mysql8/mysql/mariadb/postgres via --force-platform, but has no sqlite entry — today the only way to get SQLite DDL out of ibexa:doctrine:schema:dump-sql is --compare (or no --force-platform) against a live SQLite connection. Added 'sqlite' => Doctrine\DBAL\Platforms\SqlitePlatform::class, matching the existing entries, so --force-platform=sqlite works the same way mysql8/postgres already do (no live DB needed).

For QA:

bin/console ibexa:doctrine:schema:dump-sql <path/to/schema.yaml> --force-platform=sqlite

Confirmed output for ibexa/user's schema.yaml produces correct CREATE TABLE/CREATE INDEX SQLite DDL.

Documentation:

N/A — internal tooling.

@sonarqubecloud

sonarqubecloud Bot commented Aug 8, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant