fix: organize-notebook orphelin (sed console.log) + migration DB indexes
- organize-notebook.ts: lignes orphelines supprimées (console.log multi-ligne cassé par sed) - Migration 20260629000000: CREATE INDEX contentUpdatedAt DESC + isPublic sur Note - schema.prisma: commentaire SQL brut retiré (invalidait prisma)
This commit is contained in:
@@ -205,10 +205,6 @@ export async function executeNotebookOrganization(plan: OrganizationPlan): Promi
|
||||
})
|
||||
if (!notebook) return { success: false, created: 0, moved: 0, error: 'Carnet introuvable' }
|
||||
|
||||
notebookId: plan.notebookId,
|
||||
groups: plan.groups.map(g => ({ name: g.name, isNew: g.isNew, existingId: g.existingId, noteCount: g.notes.length }))
|
||||
}))
|
||||
|
||||
let created = 0
|
||||
let moved = 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user