database configuration base structure