Skip to content
This repository has been archived by the owner on Nov 14, 2022. It is now read-only.

Sequelize deprecated warning message #6

Open
shajunr88 opened this issue Oct 24, 2017 · 1 comment
Open

Sequelize deprecated warning message #6

shajunr88 opened this issue Oct 24, 2017 · 1 comment

Comments

@shajunr88
Copy link

at the time running of nodemon app.js it shows the following error :
sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at http://docs.sequelizejs.com/manual/tutorial/querying.html#operators node_modules/sequelize/lib/sequelize.js:236:13

@shajunr88 shajunr88 changed the title Sequelize deprciated warning message Sequelize deprecated warning message Oct 24, 2017
@cybercoder
Copy link

cybercoder commented Feb 4, 2018

Add this line to sequelize config.json :

"operatorsAliases": "Sequelize.Op"
like this:

    "development": {
      "username": "postgres",
      "password": "postgres",
      "database": "dev",
      "host": "127.0.0.1",
      "port": 5432,
      "dialect": "postgres",
      "operatorsAliases": "Sequelize.Op"
    },

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants