More db work for flavors