Closed arhimede closed 5 months ago
Just installed DotKernel API v5 from scratch in a test directory - I can confirm that there are no issues with the database seeder. Below is a step-by-step process of a fresh install starting from git cloning the project up to where it is ready to run. (Click an item to reveal the command's output)
OK] Already at the latest version ("Api\Migrations\Version20240613153602")
Try to run doctrine over an empty new database please
The above steps are in the order I executed them in. I ran the migration script on an empty database (I previously dropped all tables from the database). Next, I ran the database seeder script, which completed successfully.
Based on the error you are getting, I see 2 possible reasons:
latest api code from 5.0 branch following installation instrutions
at the step:
php bin/doctrine fixtures:execute
I got