Added missing database creation queries