Database configuration work