Use a safer method for setting the db schema.