[ticket/9657] Add migration files for updating the database

PHPBB3-9657