with db yml and cap