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
#!/usr/bin/env node | |
// This fix TypeORM enum creation, which generate multiple CREATE TYPE statement | |
// when an enum is used in multiple columns. | |
// The solution is taken from this SO answer: https://stackoverflow.com/a/48382296 | |
// which gracefully handle the exception | |
// - https://github.com/typeorm/typeorm/issues/5648 | |
// - https://github.com/typeorm/typeorm/issues/5738 | |
// - https://github.com/typeorm/typeorm/issues/7501 |
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
{"lastUpload":"2019-05-16T07:39:09.034Z","extensionVersion":"v3.2.9"} |