Separate db configuration