Ticket/12710 Fix MSSQL and Oracle column type changing

https://tracker.phpbb.com/browse/PHPBB3-12710

@Noxwizard can you please test this on your MSSQL and Oracle set up
@Nicofuma can you please test this on your Oracle server?

@paul999 can you try to have a look at the oracle part, whether it makes sense for you?