Skip to content

Commit 9b513d4

Browse files
committed
update pnpm-lock
1 parent 6be50c4 commit 9b513d4

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

drizzle-kit/src/serializer/pgSerializer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1972,7 +1972,7 @@ const formatArrayElement = (element: any, dataType: string): string | null => {
19721972
// First, try to parse it to validate it's valid JSON
19731973
const parsed = JSON.parse(cleanElement);
19741974
// Then stringify it back to ensure consistent formatting
1975-
return `"${JSON.stringify(parsed)}"`;
1975+
return `"${JSON.stringify(parsed).replaceAll('"', '\\"')}"`;
19761976
} else {
19771977
return `"${cleanElement}"`;
19781978
}

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)