Skip to content

Commit eeedb23

Browse files
committed
Fix #98 - DEFAULT Identifier
1 parent 7f1a7a4 commit eeedb23

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

CHANGELOG.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
[
2+
{
3+
"date": "2023-02-10",
4+
"version": "3.202302.3",
5+
"Changed": [
6+
"Change CDS DEFAULT delimited identifier [Issue 98](https://github.com/SAP-samples/hana-developer-cli-tool-example/issues/98)"
7+
]
8+
},
29
{
310
"date": "2023-02-03",
411
"version": "3.202302.1",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hana-cli",
3-
"version": "3.202302.2",
3+
"version": "3.202302.3",
44
"description": "HANA Developer Command Line Interface",
55
"main": "index.js",
66
"bin": {

utils/dbInspect.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ export async function formatCDS(db, object, fields, constraints, type, schema, p
657657

658658
global.__xRef.push(xref)
659659
if (field.DEFAULT_VALUE) {
660-
cdstable += ` default "${field.DEFAULT_VALUE}"`
660+
cdstable += ` default '${field.DEFAULT_VALUE}'`
661661
}
662662

663663
if (field.IS_NULLABLE === "FALSE") {

0 commit comments

Comments
 (0)