Base DB schema and config