add Custom convention for decimal column precision, modelBuilder.Properties<decimal>().Configure(config => config.HasPrecision(28, 8));