I have an error when trying to update my database after adding a migration.
Here are my classes before add-migration
public class Product { publi
It can occur when you try to add foreign key constraint on a non nullable column of a table that already contains data. If your tables contain data try to delete them first and retry to update your database.