c# - Why doesn't Add-Migration generate a DbMigration automatically? -


when ever add new model, few days on executing add-migration modelname dbmigration getting generating automatically, basic create table thins generating automatically. had run update-database .

but few days back, whenever add new model, on executing add-migration modelname nothing happens generates empty dbmigration below :

 public partial class blogs : dbmigration     {         public override void up()         {         }          public override void down()         {         }     } 

there should create table thing generated inside up() method , rollback statement in down(),

anyone else has faced same issue, can suggest may cause ?

thanks :)


Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

c# - Exception when attempting to modify Dictionary -