Database diagrams editor that allows you to visualize and design your DB with a single query.
TypeScript databasedbdb-migrationeditorerdmariadbmssqlmysqlpostgresqlreactreact-flowschema-migrationssqlsqlitetypescriptvisualizationxyflow
add import to comments
Guy Ben-Aharonf61add50e999
diff --git a/src/lib/domain/db-table.ts b/src/lib/domain/db-table.tsindex e0e5bf21..59be055d 100644--- a/src/lib/domain/db-table.ts+++ b/src/lib/domain/db-table.ts@@ -86,6 +86,7 @@ export const createTablesFromMetadata = ({...(col.default ? { default: col.default } : {}),...(col.collation ? { collation: col.collation } : {}),createdAt: Date.now(),+ comments: col.comment ? col.comment : undefined,}));@@ -119,6 +120,7 @@ export const createTablesFromMetadata = ({color: isView ? greyColor : randomColor(),isView: isView,createdAt: Date.now(),+ comments: tableInfo.comment ? tableInfo.comment : undefined,};});};