Closed horaciod closed 6 years ago
Yes, the readme is missing the second step.
You need to run both commands to seed the database.
To create the database schema:
php vendor/bin/phinx migrate
And to populate the data:
php vendor/bin/phinx seed:run
Also, as mentioned in the readme, you can use the command composer refresh-database
to rollback all migrations, migrate the database and seed the data.
in Data Seeding say "php vendor/bin/phinx migrate" but is not working but "php vendor/bin/phinx seed:run" works