Use migrations as DbInitializer? RRS feed

  • Question

  • User44880335 posted


    I'm developing a project with ASP.NET 4 MVC 5.2 and EF6.

    Since I'm in developing mode, I don't need to keep track of my previous model and its snapshot, I'd want that to start taking place once I publish the app, meanwhile I'd like to use migrations as a DB initializer and seed only. Is this possible? If yes how?

    Thursday, September 24, 2015 8:47 PM


  • User44880335 posted

    Found my answer here.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, September 24, 2015 10:08 PM