Greetings to all. I've a situation with a code of SAP CAP connected with postgres.
I show you the code.
schema.cds

annotations.cds
services.cds

service.js

I want to enable the create button and I understand that I must use the @odata.draft.enabled but when I click on the button it shows me the following error message: "Can't execute query as no primary database is connected."

Does anyone have any idea why this is happening?
In the same way I leave attached my package.json and my .cdsrc.json
package.json

.cdsrc.json

Preview
