Skip to content

Build your personal knowledge base with Trilium Notes

fix migration

zadamf8c9178c5d4d
diff --git a/db/migrations/0217__drop_content_tables.sql b/db/migrations/0217__drop_content_tables.sql
index c0db8879d1..549fd69193 100644
--- a/db/migrations/0217__drop_content_tables.sql
+++ b/db/migrations/0217__drop_content_tables.sql
@@ -1,2 +1,4 @@
DROP TABLE note_contents;
DROP TABLE note_revision_contents;
+
+DELETE FROM entity_changes WHERE entityName IN ('note_contents', 'note_revision_contents');