…ck to originalSchema. Should now properly handle setups where the datasource url does not have a schema defined but instead .setSchema() was used.
thanks for the pull request. I merged it, added a test, found out it broke PostgreSQL support and eventually rewrote it :-)
This should be easier to check in the future though, now that the Travis CI also runs the MySQL and PostgreSQL tests.