Changes the db creation routine.