Skip to content

Commit 92d4adb

Browse files
authored
Update dbml parser (#542)
1 parent 5fdaa18 commit 92d4adb

File tree

3 files changed

+21
-18
lines changed

3 files changed

+21
-18
lines changed

package-lock.json

Lines changed: 19 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"preview": "vite preview"
1111
},
1212
"dependencies": {
13-
"@dbml/core": "^3.9.7-alpha.0",
13+
"@dbml/core": "^3.13.9",
1414
"@dnd-kit/core": "^6.3.1",
1515
"@dnd-kit/sortable": "^10.0.0",
1616
"@dnd-kit/utilities": "^3.2.2",

src/utils/importFrom/dbml.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { nanoid } from "nanoid";
66
const parser = new Parser();
77

88
export function fromDBML(src) {
9-
const ast = parser.parse(src, "dbml");
9+
const ast = parser.parse(src, "dbmlv2");
1010

1111
const tables = [];
1212
const enums = [];

0 commit comments

Comments
 (0)