Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

sequelize puts an s end of name

var Bar = sequelize.define('Bar', { /* bla */ }, {
  // disable the modification of tablenames; By default, sequelize will automatically
  // transform all passed model names (first parameter of define) into plural.
  // if you don't want that, set the following
  freezeTableName: true,
})
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sequelize #puts
ADD COMMENT
Topic
Name
8+6 =