Split database creation into two queries.