(str: string)
| 7 | import { omit, isEqual } from "lodash"; |
| 8 | |
| 9 | function wrapParen(str: string) { |
| 10 | if (str.length >= 2 && str.startsWith("(") && str.endsWith(")")) return str; |
| 11 | return "(" + str + ")"; |
| 12 | } |
| 13 | |
| 14 | function generateCreateColumn(col: DatabaseTableColumn): string { |
| 15 | const tokens: string[] = [escapeIdentity(col.name), col.type]; |
no outgoing calls
no test coverage detected