-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Table with default foreign key naming strategy #8
Table with default foreign key naming strategy #8
Conversation
- Update travis configuration - Remove test fixtures - Add MySQL knexfile
- Update travis configuration - Remove test fixtures - Add MySQL knexfile
…ature/mysql-support
- Update travis configuration - Remove test fixtures - Add MySQL knexfile
…ature/mysql-support
This is not sync with the current tree of #7. Can you please rebase and only leave your commits to be merged? |
@@ -333,5 +332,13 @@ describe('bookshelf-cascade-delete', () => { | |||
|
|||
sinon.restore(Model); | |||
}); | |||
|
|||
it('should foreignKey', async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What are you trying to accomplish here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test is useless. I used it to check if forgeinKey is undfined.
@Bartinger I already spotted the bug, working on it. Thanks! |
f951d54
to
69dd60e
Compare
@Bartinger This bug is something different than what was fixed in #7, so I'll close this PR for now and open an issue to keep track of it. |
@Bartinger Can you take a look at the comment I just made on #9? It seems that the schema you created was malformed. |
The same error still occurs. Because of the quotes around "Post_id" postgres dosn't find the column post_id