Skip to content
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

fixed of associations with the comments table #107

Closed
wants to merge 1 commit into from

Conversation

Estdiag
Copy link
Collaborator

@Estdiag Estdiag commented May 8, 2022

Cuando se realiza la petición donde obtengo todos los comentarios, este llama a un commentId que no encuentra. este commentId era usado en estas 2 tablas.

Eliminando estas asociaciones, la tabla Comments, sigue teniendo relación con User y Post

foreignKey: 'commentId',
as: 'comments',
});

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Estdiag revisar porque hay conflictos.

@Estdiag
Copy link
Collaborator Author

Estdiag commented May 9, 2022

conflicto resuelto en la rama #103

@Estdiag Estdiag closed this May 9, 2022
@Estdiag Estdiag deleted the OT175-fix-association-comment branch May 9, 2022 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants