Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: handle postgres default when tableColumn.default is not string (#…
…7816) there was an edge case where the tableColumn.default was not a string and thus caused a TypeError to be emitted when we tried to `substring` it. instead, we check the type first and only if that type is a string do we try to decode it
- Loading branch information
1 parent
87788bb
commit 0463855
Showing
3 changed files
with
47 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters