knex-db-manager
knex-db-manager copied to clipboard
dbManager.truncateDb - cannot truncate a table referenced in a foreign key constraint
Hi - thanks for the package. When I'm trying to truncate I get the error cannot truncate a table referenced in a foreign key constraint. Is there any way to CASCADE
the truncate to get around this?
If you truncate all the related tables at the same time that error shouldn't happen.