sequelize icon indicating copy to clipboard operation
sequelize copied to clipboard

interface incomplete: InitOptions

Open tonyke-bot opened this issue 8 years ago • 0 comments

modelName should be one member of InitOptions, which type is string.

Although this parameters is optional and if it's left blank, sequelize will use Class name as modelName. But I port my old project from js to ts and my table name is camelCase, but class name is usually in PascalCase, so I need to defined the model name myself when I invoke Model.init;

Plz fix it.

tonyke-bot avatar May 06 '18 10:05 tonyke-bot