A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
core: remove unnecessary migration success log
Abdullah Atta25e6350c0447
diff --git a/packages/core/src/database/index.ts b/packages/core/src/database/index.tsindex bb372356c..424f70f0a 100644--- a/packages/core/src/database/index.ts+++ b/packages/core/src/database/index.ts@@ -250,11 +250,8 @@ export async function createDatabase(name: string, options: SQLiteOptions) {const { error, results } = await migrator.migrateToLatest();results?.forEach((it) => {- if (it.status === "Success") {- console.log(`migration "${it.migrationName}" was executed successfully`);- } else if (it.status === "Error") {+ if (it.status === "Error")console.error(`failed to execute migration "${it.migrationName}"`);- }});if (error) {