4 ms·
How do you apply your migrations? I was setting up a project a few weeks ago and reached for FluentMigrator as it used to be my go to tool... but apparently th
by Merad 7y ago
How do you apply your migrations? I was setting up a project a few weeks ago and reached for FluentMigrator as it used to be my go to tool... but apparently the command line tool is now deprecated and they recommend writing custom code to do migrations. I eventually decided to give EF Core migrations a try, which is working pretty well so far.
- sakopov 7y agoWe use the CLI you're referring to on ci/cd servers. Frankly, I had no idea it was deprecated and couldn't find much on this after a little bit of googling. Would mind sharing a link?
- Merad 7y agoPerhaps "deprecated" isn't quite accurate. I could have sworn one of their documentation pages basically said, "there's a good chance you'll run into problems if you use the CLI, and we don't recommend using it." If there was something that explicit I can't find it at the moment. There is [0] that says "please use the in-process runner if possible," [1] discussing problems with the cli migrators, and [2] where the maintainer seems to have a preference for removing the cli's in the long run. [0]: https://fluentmigrator.github.io/articles/migration-runners.html?tabs=vs-pkg-manager-console https://fluentmigrator.github.io/articles/migration-runners.... [1]: https://github.com/fluentmigrator/fluentmigrator/issues/1006 https://github.com/fluentmigrator/fluentmigrator/issues/1006 [2]: https://github.com/fluentmigrator/fluentmigrator/issues/1016 https://github.com/fluentmigrator/fluentmigrator/issues/1016