Highway.Data configures a Database Initializer out of the box. Unfortunately where I work does not allow developers to create databases on our development data server. We usually start our development with an already formed database.
To disable migrations do the following files:
- Delete /App_Start/DatabaseInitializerWireup.cs
- Delete /Config/HighwayDatabaseInitializer.cs
- Edit /Installers/HighwayDataInstaller.cs and remove the registration for IDatabaseInitializer
There you go, Highway.Data will not try to drop and re-create your database now.