cannot read property OnDelete of undefined when you don't pass a rules object to the foreignKey. I tried to add a test for this that would just pass an empty config, but was stuck trying to get the tests running successfully on my machine (Windows 10)
This fixes https://github.com/db-migrate/pg/issues/37 where you get an error:
cannot read property OnDelete of undefined
when you don't pass a rules object to theforeignKey
. I tried to add a test for this that would just pass an empty config, but was stuck trying to get the tests running successfully on my machine (Windows 10)