()
| 427 | } |
| 428 | |
| 429 | clone() { |
| 430 | const clone = new Column(this.type, () => this.names); |
| 431 | clone.ormName = this.ormName; |
| 432 | clone.isNullable = this.isNullable; |
| 433 | clone.isUnique = this.isUnique; |
| 434 | clone.default = this.default; |
| 435 | clone.table = this.table; |
| 436 | return clone; |
| 437 | } |
| 438 | |
| 439 | getUniqueConstraintName(): string { |
| 440 | return `unique_c_${this.table.ormName}_${this.ormName}`; |
nothing calls this directly
no outgoing calls
no test coverage detected