[ticket/11885] Fix migrations error

PHPBB3-11885
Merge pull request #1750 from EXreaction/ticket/11885

[ticket/11885] Fix migrations error