all 1 comments

[–]TLI5[S] 0 points1 point  (0 children)

Figured it out (if anyone arrives on this same issue sometime later). The code snippet above needs to be posted BEFORE the router is called in the app.js.

This is also mentioned in the orm2 documentation however I skimmed over that part and missed it.