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: fix `expected previously executed migration 2 to be at index 1 but 10 was found in its place.`
Abdullah Atta4fba380f2d6d
diff --git a/packages/core/src/database/migrations.ts b/packages/core/src/database/migrations.tsindex 6eddacd9e..3ce6793ae 100644--- a/packages/core/src/database/migrations.ts+++ b/packages/core/src/database/migrations.ts@@ -377,7 +377,12 @@ export class NNMigrationProvider implements MigrationProvider {.execute();}},- "10": {+ // changing the migrations name scheme from here because+ // apparently, Kysley runs migrations in alphanumeric order.+ // To ensure things keep running smoothly, we are now moving+ // to a date-based migration name but since any number is smaller+ // than 9, we have to use "a" in the beginning.+ "a-2025-05-16": {async up(db) {await runFTSTablesMigrations(db);}