This code will enable entity framework to take care of migrations automatically. It will perform update and create database operations instead of performing them manually at each migration.
public Configuration()
{
AutomaticMigrationsEnabled = true;
AutomaticMigrationDataLossAllowed = true;
}