feat: automatic recommendations + manual evaluation in redundancy analysis

This commit is contained in:
root
2026-07-29 23:51:28 +02:00
parent 44cc29b8fe
commit 857d2e11a8
3 changed files with 226 additions and 60 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ export const toolRelationsTable = pgTable("tool_relations", {
id: serial("id").primaryKey(),
toolId: integer("tool_id").notNull().references(() => toolsTable.id, { onDelete: "cascade" }),
relatedToolId: integer("related_tool_id").notNull().references(() => toolsTable.id, { onDelete: "cascade" }),
relationType: text("relation_type", { enum: ["similar", "replaces", "superseded_by"] }).notNull().default("similar"),
relationType: text("relation_type", { enum: ["similar", "replaces", "superseded_by", "recommended"] }).notNull().default("similar"),
notes: text("notes"),
createdBy: integer("created_by").references(() => usersTable.id),
createdAt: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),