Silverstripe 3.1 wont rename tables from uppercase

So problem where normally Silverstripe has been automatically renaming table from uppercase, for say when you want to move your DB from a windows machine to a linux machine, now no longer does this in Silverstripe 3.1

This is because a YAML config setting is required to allow this.

Add the following to your config.yml

Database:
  check_and_repair_on_build:
    1

Please note, YAML syntax is filthy and disgusting. White-space is important in the syntax. No tabs are allowed, only spaces, 2 spaces for indentation. If you get a weird error, its because you might have used a tab, or are missing a ':'. Good luck, you're going to need it.