{"repo":"SRoddis/Mongo.Migration","free":true,"listed":false,"github":"https://github.com/SRoddis/Mongo.Migration","clone":"git clone https://github.com/SRoddis/Mongo.Migration.git","description":"On-the-fly migrations with MongoDB C# Driver","language":"C#","stars":183,"topics":["mongodb","mongodb-driver","migration","migrations","schema-migrations","schema","dotnet","csharp"],"license":"MIT","category":"data-pipelines","readme_excerpt":"Mongo.Migration Mongo.Migration is designed for the MongoDB C# Driver to migrate your documents easily and on-the-fly. No more downtime for schema-migrations. Just write small and simple migrations . Edit With version 3.0.0 of Mongo.Migration I added the possibility to run migrations on StartUp. In order to keep the core of Mongo.Migration in focus, it is still possible to run migrations at runtime (on-the-fly). In addition, there is now the option of executing migrations at the start of the application. PLEASE NOTE If you use on-the-fly migration updates, aggregation pipeline and projections are not handled, because they don’t use serialization. You have to handle them yourself. With version 4.0.0 of Mongo.Migration was added the possibility to run database migrations on StartUp. Now exist additional option of executing migrations which can manipulate the mongo database insert documents, rename collections and other operations that you need. It's more generic operations than only manipulate document when exists. Installation Install via nuget https://www.nuget.org/packages/Mongo.Migration Document migrations quick Start .Net Framework 1. Initialize MongoMigration behind the MongoClient . (Mongo2Go) .Net Core 1.1 Add MongoMigration with the StartupFilter ( IMongoClient has to be registered at the DI-container before) 1.2 Add MongoMigration with the StartupFilter add connection setting to use separate client 2. Implement IDocument or add Document to your entities to provide th","default_branch":null,"files":null,"tree":[],"storefront":"/r/SRoddis","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/SRoddis/Mongo.Migration/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}