Database diagrams editor that allows you to visualize and design your DB with a single query.
TypeScript databasedbdb-migrationeditorerdmariadbmssqlmysqlpostgresqlreactreact-flowschema-migrationssqlsqlitetypescriptvisualizationxyflow
clean unused param (#730)
Guy Ben-Aharon5b9d2bd1e372
diff --git a/src/lib/domain/db-field.ts b/src/lib/domain/db-field.tsindex c89f7538..f327259c 100644--- a/src/lib/domain/db-field.ts+++ b/src/lib/domain/db-field.ts@@ -5,7 +5,6 @@ import type { ColumnInfo } from '../data/import-metadata/metadata-types/column-iimport type { AggregatedIndexInfo } from '../data/import-metadata/metadata-types/index-info';import type { PrimaryKeyInfo } from '../data/import-metadata/metadata-types/primary-key-info';import type { TableInfo } from '../data/import-metadata/metadata-types/table-info';-import type { DBCustomTypeInfo } from '../data/import-metadata/metadata-types/custom-type-info';import { schemaNameToDomainSchemaName } from './db-schema';export interface DBField {@@ -54,7 +53,6 @@ export const createFieldsFromMetadata = ({tableInfo: TableInfo;primaryKeys: PrimaryKeyInfo[];aggregatedIndexes: AggregatedIndexInfo[];- customTypes?: DBCustomTypeInfo[];}) => {const uniqueColumns = columns.filter(