This commit is contained in:
seb
2026-10-22 14:39:45 +02:00
parent 9495ad51cc
commit e9b4ac5d79
31 changed files with 3405 additions and 3392 deletions

View File

@@ -170,8 +170,8 @@ function addInferredEdges(tables, edges) {
const match = column.name.match(/^(.+)_id$/i);
if (!match) continue;
// Tombstone tables store references to deleted entities, not active foreign keys.
if (tableName.includes('tombstone')) continue;
// Obituary tables store references to deleted entities, not active foreign keys.
if (tableName.includes('obituary') || tableName.includes('tombstone')) continue;
const candidate = match[1];
if (!tables.has(candidate) || candidate === tableName) continue;
@@ -390,7 +390,7 @@ const CLUSTERS = [
tables: ['tax', 'price', 'account', 'payment'],
},
{ id: 'units', label: 'Units', tables: ['unit'] },
{ id: 'pos', label: 'POS', tables: ['posterminal', 'posterminalcategory', 'posterminaltombstone', 'printer', 'labeltemplate'] },
{ id: 'pos', label: 'POS', tables: ['posterminal', 'posterminalcategory', 'posterminalobituary', 'printer', 'labeltemplate'] },
{
id: 'ai',
label: 'AI & Models',