Skip to main content
-4 votes
0 answers
27 views

I'm trying to fully Dockerize my application, which includes: Next.js (frontend) Express.js (backend) PostgreSQL Sequelize ORM for models and migrations my backend can't connect to the PostgreSQL ...
Yazid Khoualdi's user avatar
0 votes
2 answers
52 views

I'm trying to integrate sequelize with the db conection to postgres and i am getting an error where relationships are built. i don't know if i'm missing something at this point index.js 'use strict'; ...
o.go's user avatar
  • 1
1 vote
0 answers
29 views

My sequelize-cli is npx sequelize-cli model:generate --name Profile --attributes username:string,imageUrl:string,fullname:string,dateOfBirth:date,UserId:UUID,role:enum:'{staff,admin}':defaultValue:...
flyingduck92's user avatar
  • 1,692
0 votes
1 answer
73 views

I'm using type module/import syntax for the rest of my project, but the Sequelize CLI generates files with require syntax. How should I handle this? I'm already having trouble with not being able to ...
t t's user avatar
  • 1
1 vote
1 answer
52 views

I have a Vue 3 app hosted on Netlify, and the backend is hosted on Heroku. The login is a simple /login endpoint made with Express and Sequelize. It works well on desktop, but when I try to log in on ...
Luis's user avatar
  • 9
0 votes
0 answers
31 views

I am confused on the intended workflow with Sequelize. I have found some documentation that refers to a workflow that uses sequelize-cli, while others seem to create bespoke one-off javascript scripts ...
sherrellbc's user avatar
  • 4,928
0 votes
1 answer
54 views

In nodejs (sequelize) ,Add new key or column in MySql via migration but it is not defined in the model so how it update automatically in the model I have make new migration on adding new column and ...
Deepak Pradhan's user avatar
0 votes
1 answer
31 views

What am i missing? any help is appreciated. Thanks facility migration file await queryInterface.createTable("facility", { id: { allowNull: false, autoIncrement: true, ...
JPDR's user avatar
  • 1
0 votes
0 answers
36 views

I am working on a Node.js project using Sequelize-Typescript, and I'm trying to hash user passwords using lifecycle hooks (BeforeCreate and BeforeUpdate). However, I encounter an error related to how ...
Shahid Raza's user avatar
0 votes
0 answers
112 views

I have integrated sequlize into my NextJS project. Also, write the migration script for the schemas to be created into PostgreSQL. But, at the time of POST api call I am receiving the error saying: &...
TMA's user avatar
  • 1,519
0 votes
1 answer
65 views

I am using Sequelize ORM with mysql database for nodejs application. Somewhere I am stuck with one api whose job is just to show list based on the queryparam values. Issue is when I am not applying ...
user23602596's user avatar
1 vote
0 answers
40 views

I'm trying to build a simple next.js app using Sequelize CLI. However, there are issues with querying the database (migrations are run and all so DB connection is good). For instance: import { ...
Neil Middleton's user avatar
0 votes
1 answer
389 views

I am facing Sequelize CLI [Node: 21.7.1, CLI: 6.6.2, ORM: 6.37.1] | | Loaded configuration file "database/config/config.json". | Using environment "production". | ERROR: Access ...
Naeem Ahmed's user avatar
0 votes
1 answer
733 views

I'm trying to connect the DataBase with Sequelize and NodeJS but an error happen and I can't connect to DB. Through inspection I see that the 'config' variable is null and 'config.use_env_variable' ...
daonamthuan's user avatar
0 votes
0 answers
93 views

I dont know how to create a non-raw query using sequelize like this: SELECT COUNT(res.id) FROM ( SELECT clients.id, COUNT(client_addresses.id) AS total_client_addresses ...
Erick Avalos's user avatar

15 30 50 per page
1
2 3 4 5
34