public override bool CreateDb() { bool dbMustBeSeeded; OptionsBuilder.EnableSensitiveDataLogging(false); using (var db = new SrfPlayListContext(OptionsBuilder.Options)) { dbMustBeSeeded = db.Database.EnsureCreated(); } return(dbMustBeSeeded); }
public override bool CreateDb() { bool dbMustBeSeeded; OptionsBuilder.EnableSensitiveDataLogging(false); using (var db = new SrfPlayListContext(OptionsBuilder.Options)) { dbMustBeSeeded = db.Database.EnsureCreated(); } return(dbMustBeSeeded); }