Improved SQL file

There had been a few issues with the previous versions and some weird
issues occurring with the auto-increment, this will be the SQL file to
refer back to.