Skip to content

Conversation

@miken32
Copy link
Contributor

@miken32 miken32 commented May 30, 2025

Resolves FreePBX/issue-tracker #761 by passing arrays to Doctrine's FK creation method. This syntax doesn't seem to be documented anywhere so no updates to documentation needed? (hint: it probably should be documented somewhere)

Also took the opportunity to clean up the code a bit and remove some checks that were a) outdated and b) preventing proper character sets from being applied ("pdo_mysql" is not used in DSN strings, and safe to say nobody is using MySQL 5.5 any more.)

I know it looks like I rewrote the entire file, but view the diff with whitespace changes hidden and it will look a lot more reasonable!

@miken32
Copy link
Contributor Author

miken32 commented Jun 27, 2025

@kguptasangoma can this PR get reviewed please? We are updating a module to use XML database schema but have had to put it on hold due to this bug. Thanks.

@miken32
Copy link
Contributor Author

miken32 commented Aug 1, 2025

@jissphilip ? Anyone?

@kguptasangoma
Copy link
Member

Hi @miken32 you are touching the foundation of module.xml, hence we need to do proper testing before accepting this PR, thats the reason for delay in merging/review this PR.
due to some other tasks, not sure when I will schedule the QA work , will keep you posted about progress. thanks

@miken32
Copy link
Contributor Author

miken32 commented Aug 12, 2025

Sounds good, was just looking for some kind of acknowledgement.

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.

[bug]: Unable to create foreign keys in module.xml migration

2 participants