Change way the database is created