2022 Developer Survey is open! Take survey.

Questions tagged [sequelize]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
10 views

Problem seeding Heroku database

I'm trying to seed my Heroku production database and got the following error message: ERROR: insert or update on table "Posts" violate foreign key constraint "Posts_userId_fkey The ...
user avatar
0 votes
1 answer
2k views

Posgres database requires a group by clause. (column \"candidates.id\" must appear in the GROUP BY clause or be used in an aggregate function",)

I have 2 tables, agents and candidates. The candidates table has a foreign key "agent_id". I want to get all agents and aggregate the candidate counts on each agent object; the different ...
user avatar
4 votes
1 answer
10k views

Query hanging in ClientRead and blocking all others

This is related to Debugging a hanging session/lock Every so often (~1-2 times a month) we have our database lock up because there is one query that doesnt finish, and that has requested locks that ...
user avatar
  • 153
0 votes
3 answers
713 views

Database design for monthly leaderboards

I have a system where users can make predictions on events. There are about two events a week. When the event ends the system scores all the predictions and updates this in the database. Here is an ...
user avatar
  • 1
1 vote
1 answer
6k views

Postgres support for UUID [closed]

My understanding is that Postgres supports UUID data type out-of-the-box. I'm running Postgres on Amazon RDS with Engine version 10.6 and am scratching my head as to why the following commands are not ...
user avatar