diff --git a/LICENSES/Apache-2.0.txt b/LICENSE.txt similarity index 100% rename from LICENSES/Apache-2.0.txt rename to LICENSE.txt diff --git a/README.md b/README.md index 8972de46..16ee56f1 100644 --- a/README.md +++ b/README.md @@ -83,4 +83,4 @@ In case you've a question, find a bug, or otherwise need support, use our [commu ## License -Copyright (c) 2021 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, version 2.0 except as noted otherwise in the [LICENSE](LICENSES/Apache-2.0.txt) file. +Copyright (c) 2021 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, version 2.0 except as noted otherwise in the [LICENSE](LICENSE.txt) file. diff --git a/orders/db/schema.cds b/orders/db/schema.cds index 60d0a2a1..0911a4c4 100644 --- a/orders/db/schema.cds +++ b/orders/db/schema.cds @@ -13,7 +13,7 @@ entity Orders_Items { up_ : Association to Orders; product : Association to Products @assert.integrity:false; // REVISIT: this is a temporary workaround for a glitch in cds-runtime amount : Integer; - title : String; + title : String; //> intentionally replicated as snapshot from product.title price : Double; } diff --git a/package.json b/package.json index 1318f133..a4e0ce40 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,6 @@ "sqlite3": "^5.0.0" }, "scripts": { - "fix-antlr": "sed -i -e 's/INVALID_ALT_NUMBER = require.*/INVALID_ALT_NUMBER = 0/' node_modules/antlr4/tree/Trees.js node_modules/antlr4/RuleContext.js", "cleanup": "rm -rf node_modules && rm -rf */node_modules && rm -rf */*/node_modules", "registry": "node .registry/server.js", "bookshop": "cds watch bookshop",