Skip to content

Commit

Permalink
Fix setting name typo in error message (#1767)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjie authored Sep 28, 2023
2 parents 4986a8c + 0cc0ddf commit 1f59e2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ or use a '@unique ${foreignKeyAttibutes
",",
)}' smart tag to emulate this. (Original spec: ${JSON.stringify(
rawSpec,
)}).\nTo temporarily fix this you can set 'preset.gather.pgFaceConstraintsAutofixForeignKeyUniqueness' to 'true', but we strongly recommend against using this long term.'`,
)}).\nTo temporarily fix this you can set 'preset.gather.pgFakeConstraintsAutofixForeignKeyUniqueness' to 'true', but we strongly recommend against using this long term.'`,
);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ test("raises an error when a foreignKey tries to reference a non-unique combinat
ADD UNIQUE ("about");
or use a '@unique about' smart tag to emulate this. (Original spec: "(sekrit) references c.person (about)").
To temporarily fix this you can set 'preset.gather.pgFaceConstraintsAutofixForeignKeyUniqueness' to 'true', but we strongly recommend against using this long term.'"
To temporarily fix this you can set 'preset.gather.pgFakeConstraintsAutofixForeignKeyUniqueness' to 'true', but we strongly recommend against using this long term.'"
`);
});

0 comments on commit 1f59e2e

Please sign in to comment.