Skip to content

Commit

Permalink
HCK-8490: Escape quotes in comment in DDL: SQLServer
Browse files Browse the repository at this point in the history
  • Loading branch information
Nightlngale committed Oct 25, 2024
1 parent 8afc420 commit dc51bf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forward_engineering/utils/general.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ module.exports = _ => {
return `[${name}]`;
};

const escapeSpecialCharacters = name => {
const escapeSpecialCharacters = (name = '') => {
return name.replace(/'/g, "''");
};

Expand Down

0 comments on commit dc51bf1

Please sign in to comment.