Fixed a bug in the CreateDatabase class that wasn't updating the version number in the database.