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

Generating views where there may be no primary key present, causes sequelize to assume there's an id primary key present #676

Open
kwooccli opened this issue Jan 21, 2025 · 0 comments

Comments

@kwooccli
Copy link

there are ways around it to pulled in views with:
vw_[name].removeAttribute('id')

However, it'd be nice if this could be included somehow in the generated typescript models since it can fully see for itself if the tables/views have that id column to begin with rather than just assuming it's always there.

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