Posts by Samuel Belo • 27 points
2 posts
-
0
votes0
answers32
viewsQ: How to count items within a Sequelize association
I have in my database a table called Chefs, and another table Recipes receiving a foreign key called chef_id. Using Sequelize I built in my Controller a code that returns the data of chefs together…
-
1
votes1
answer582
viewsQ: Migration does not create table in database. Typeorm, postgresql
Good evening, you guys. In this project I am using typeorm to configure my database. I create my Migration, but when I execute the command Yarn typeorm Migration:run, It doesn’t create the table I…