I am starting to get desperate, I don't know where to look any more. I now also tried MariaDB container and still the same problem.
I did notice that when I delete the folder where the DB files are stored in the Linux shell (that folder is mounted using volume:s) the tables are still in the database when the DB is recreated by a new Mysql/Mariadb container at initialization. I tried to not use the volumes: to see if the tables would disappear, they didn't. So somehow my database is persistent even when deleted and relocated... This seems like a problem by it self... Yet I am not sure it is related. Furthermore the a php artisan migrate:reset is successful, the errors are only at seeding time.
I ran the seeder a couple of times, that last time they where succesful (if I run them again I am sure there will be errors). here are the random break points I encountered:
SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`cake-shop`.`product_product_property`, CONSTRAINT `product_product_property_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `product_products` (`id`))
SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`cake-shop`.`product_prices`, CONSTRAINT `product_prices_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `product_products` (`id`))
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'cake-shop.product_sales' doesn't exist (Connection: mysql, SQL: truncate table `product_sales`)
SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`cake-shop`.`product_product_properties_property`, CONSTRAINT `product_product_properties_property_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `product_products` (`id`))
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'cake-shop.product_product_properties_property' doesn't exist
And on the next try all seeders finish successfully... To me it feels like a Database issue. Yet having changed DB containers and even switched from Mysql to Mariadb I have no idea what to do anymore... any thoughts on the persisting of the tables (even after actual deletion of the files) would also be more then welcome...