From aa4a1039c36d3b8166967f46edefb7eebcedfe28 Mon Sep 17 00:00:00 2001 From: Ben Allfree Date: Mon, 22 Jul 2024 22:29:43 -0700 Subject: [PATCH 1/2] chore(pockethost): fix mothership migration typings --- .../mothership-app/migrations/1716628803_updated_instances.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pockethost/src/mothership-app/migrations/1716628803_updated_instances.js b/packages/pockethost/src/mothership-app/migrations/1716628803_updated_instances.js index 7820606a..92dcbd63 100644 --- a/packages/pockethost/src/mothership-app/migrations/1716628803_updated_instances.js +++ b/packages/pockethost/src/mothership-app/migrations/1716628803_updated_instances.js @@ -1,4 +1,4 @@ -/// +/// migrate((db) => { const dao = new Dao(db) const collection = dao.findCollectionByNameOrId("etae8tuiaxl6xfv") From eca111082411c76b617f725b0cd5ab1f7bb99495 Mon Sep 17 00:00:00 2001 From: Ben Allfree Date: Mon, 22 Jul 2024 22:54:30 -0700 Subject: [PATCH 2/2] chore(pockethost): fix mothership typing path --- .../migrations/1705062576_collections_snapshot.js | 2 +- .../src/mothership-app/migrations/1705083826_updated_stats.js | 2 +- .../mothership-app/migrations/1706060446_updated_instances.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/pockethost/src/mothership-app/migrations/1705062576_collections_snapshot.js b/packages/pockethost/src/mothership-app/migrations/1705062576_collections_snapshot.js index 9fdc18f5..77f2b374 100644 --- a/packages/pockethost/src/mothership-app/migrations/1705062576_collections_snapshot.js +++ b/packages/pockethost/src/mothership-app/migrations/1705062576_collections_snapshot.js @@ -1,4 +1,4 @@ -/// +/// migrate((db) => { const snapshot = [ { diff --git a/packages/pockethost/src/mothership-app/migrations/1705083826_updated_stats.js b/packages/pockethost/src/mothership-app/migrations/1705083826_updated_stats.js index ade5ebf8..29e732d8 100644 --- a/packages/pockethost/src/mothership-app/migrations/1705083826_updated_stats.js +++ b/packages/pockethost/src/mothership-app/migrations/1705083826_updated_stats.js @@ -1,4 +1,4 @@ -/// +/// migrate((db) => { const dao = new Dao(db) const collection = dao.findCollectionByNameOrId("buq519uv711078p") diff --git a/packages/pockethost/src/mothership-app/migrations/1706060446_updated_instances.js b/packages/pockethost/src/mothership-app/migrations/1706060446_updated_instances.js index 7599c906..3aee7459 100644 --- a/packages/pockethost/src/mothership-app/migrations/1706060446_updated_instances.js +++ b/packages/pockethost/src/mothership-app/migrations/1706060446_updated_instances.js @@ -1,4 +1,4 @@ -/// +/// migrate((db) => { const dao = new Dao(db) const collection = dao.findCollectionByNameOrId("etae8tuiaxl6xfv")