[ticket/11574] Change order of files and database update

PHPBB3-11574