Database definition