Skip to content

Commit

Permalink
try extra parens
Browse files Browse the repository at this point in the history
  • Loading branch information
patricebender committed Jan 31, 2025
1 parent b208fbd commit d640b19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/bookshop/db/schema.cds
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ using {
namespace sap.capire.bookshop;

@assert.constraint#stockNotEmpty : {
condition: ( stock >= 0 or stock IS NULL ),
condition: ( ( stock >= 0 or stock IS NULL ) ),
message: 'The stock must be greater than or equal to 0',
parameters: [] // to be inserted into the message
}
Expand Down

0 comments on commit d640b19

Please sign in to comment.