Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

interface incomplete: InitOptions #166

Open
tonyke-bot opened this issue May 6, 2018 · 0 comments
Open

interface incomplete: InitOptions #166

tonyke-bot opened this issue May 6, 2018 · 0 comments

Comments

@tonyke-bot
Copy link

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.

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

No branches or pull requests

1 participant