Fix default database not set in site config