Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Feature Request: seed:run should print the file name of the failing seed #2972
Knex version: 0.15.2
Feature discussion / request
Simply printing the file the error was generated while running + db + table-name would likely be plenty.
From the above output, you really can't tell which one of my 20+ seed files this actually happened in (or which field for that matter). All it says is that the length validation failed in one of my many VARCHAR fields with length set to 64.
This issue is largely the same for the MySQL2 driver as well, and feels like something that should be addressed in core knex.
Yep, same behavior on 0.16.3 @kibertoad
Thank you for looking into it!