Skip to content

IBX-11939: Added the missing ON UPDATE CASCADE to ezcontentclass_attribute_ml's SQLite foreign key - #856

Merged
Steveb-p merged 1 commit into
4.6from
feature/schema-parity-4.6
Oct 5, 2026
Merged

Steveb-p merged 1 commit into
4.6from
feature/schema-parity-4.6

Conversation

@Steveb-p

@Steveb-p Steveb-p commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

Note

Stacked on #785: it targets #785's branch and lands right after it.

🎫 Issue IBX-11939

Related PRs:

Description:

The SQLite baseline's ezcontentclass_attribute_ml_lang_fk lacked ON UPDATE CASCADE, which schema.yaml declares and the MySQL/PostgreSQL baselines have. So on SQLite, an install through Doctrine Migrations ended up with a different foreign key than one through SchemaBuilderEvent. ibexa/test-core#68's alignment test reports it on the migrations run; with this fix, that run comes out clean.

#785 isn't released yet, so this fixes the baseline itself rather than adding a migration.

Core's own CI has no integration suite on the migrations path yet, so the alignment test doesn't run here. Core's tables get checked by the packages that run it, ibexa/taxonomy#465 for now.

@Steveb-p
Steveb-p force-pushed the feature/schema-parity-4.6 branch from cb8e3b5 to c9d5111 Compare October 4, 2026 11:27
@Steveb-p Steveb-p changed the title IBX-11939: Added a schema parity test for the Doctrine Migrations path IBX-11939: Added the missing ON UPDATE CASCADE to ezcontentclass_attribute_ml's SQLite foreign key Oct 4, 2026
@Steveb-p
Steveb-p added this pull request to stack #859 October 4, 2026 20:27
@Steveb-p
Steveb-p marked this pull request as ready for review October 5, 2026 10:02
Base automatically changed from doctrine-migrations-installer-inline-sql to 4.6 October 5, 2026 10:37
…ibute_ml's SQLite foreign key

schema.yaml declares ezcontentclass_attribute_ml_lang_fk with onUpdate: CASCADE, and the MySQL
and PostgreSQL baselines have it, but the SQLite one only had ON DELETE CASCADE. The schema
parity test reports it on SQLite's fresh-install scenario.
@Steveb-p
Steveb-p force-pushed the feature/schema-parity-4.6 branch from c9d5111 to c2f78c9 Compare October 5, 2026 10:37
@sonarqubecloud

sonarqubecloud Bot commented Oct 5, 2026

Copy link
Copy Markdown

@Steveb-p
Steveb-p merged commit 00e5fba into 4.6 Oct 5, 2026
35 checks passed
@Steveb-p
Steveb-p deleted the feature/schema-parity-4.6 branch October 5, 2026 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant