Spaces:
Runtime error
Runtime error
Fix migration object id (#1215)
Browse files
src/lib/migrations/routines/06-trim-message-updates.ts
CHANGED
|
@@ -40,7 +40,7 @@ function convertMessageUpdate(message: Message, update: MessageUpdate): MessageU
|
|
| 40 |
}
|
| 41 |
|
| 42 |
const trimMessageUpdates: Migration = {
|
| 43 |
-
_id: new ObjectId(
|
| 44 |
name: "Trim message updates to reduce stored size",
|
| 45 |
up: async () => {
|
| 46 |
const allConversations = collections.conversations.find({});
|
|
|
|
| 40 |
}
|
| 41 |
|
| 42 |
const trimMessageUpdates: Migration = {
|
| 43 |
+
_id: new ObjectId("000000000006"),
|
| 44 |
name: "Trim message updates to reduce stored size",
|
| 45 |
up: async () => {
|
| 46 |
const allConversations = collections.conversations.find({});
|