Fix self-referencing table in codegen (#619)
Merge pull request #653 from slick/tmp/codegen-fk-selfref

Fix self-referencing table in codegen ( #619 )