Skip to content

Some migrations are broken #350

@felixble

Description

@felixble

It seems that some migrations are broken. For a short test I tried to migrate from version 19 down to version 1. Unfortunately, this was not possible anymore due to some errors in the migration functions.

It turned out that we sometimes use the find-method of the Schema-Classes directly which caused the error. Instead we should work on the find-method of the Collection directly (e.g. MinutesSchema.getCollection().find()) which in turn returns documents instead of astronomy classes.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions