Mongo.Migration icon indicating copy to clipboard operation
Mongo.Migration copied to clipboard

On-the-fly migrations with MongoDB C# Driver

Results 37 Mongo.Migration issues
Sort by recently updated
recently updated
newest added

If the fields are not public properties they won't get used by either System.Text.Json or Netwonsoft.Json. This makes them still readonly, and compatible with deserialization of json without writing a...

``` System.AggregateException: One or more errors occurred. (An error occurred while deserializing the Version property of class GoArcticApi.Models.Db.BaseCollectionObject: Value class Mongo.Migration.Documents.DocumentVersion cannot be deserialized.) ---> System.FormatException: An error occurred while...

What does the error above mean? This happens (randomly) when I try to read from a collection.

Hi, I have a concern about the code below in the StartUpDocumentMigrationRunner.cs. As you see we try to load all the documents required migration by cursor which is good. However,...

Hello, Very nice library. I have a question how to get only documents with current version? So we can have two documents ```json Cars: [ {"Name": "Audi", "Version": "1.0.0"}, {"Name":...

Hi I would like to use this Mongo.migration library, but I have a small problem with nullable properties in a complex model. For example if I have a main model...

Database migration runner is not supporting backward migration so proposing a change which is similar to document migration runner.

Now we can manipulate the Mongo Database, insert documents, rename collections and anything else operations that you need. It's more generic operations than only manipulate document when exists.

When a collection contains more than one type the current migrations migrate all documents. This PR addresses that by restricting the document query to filter any documents that dont have...

Hi I'm trying to test the scenario, when i have to do multiple document downgrade migrations, i.e. 1.0.2 -> 1.0.0 1. Start the app. Up to 1.0.2 (including 1.0.1) -...

bug