Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

sequelize relation does not exist

// You need to set freezeTableName to true in the options of the data model 

const YourTable = sequelize.define('YourTable', {
    ...
  }, {
    freezeTableName: true
  });
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sequelize #relation #exist
ADD COMMENT
Topic
Name
9+1 =