Fix up heat sql connections

Fix up heat::db to allow it to create the heat sql database