MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / clone

Method clone

packages/core/fumadb/src/schema/create.ts:429–437  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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}`;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected