We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug When generating models, certain type declarations are omitted, specifically noted with Date and number.
Date
number
Please note: this may just be a SQLite issue.
To Reproduce
sync-models
./models
The text was updated successfully, but these errors were encountered:
REF: https://github.com/outerbase/sdk/blob/main/src/generators/generate-models.ts#L158
Sorry, something went wrong.
One cool thing I've noticed here is how Sequelize has these identified as different objects when you use the DataTypes class. That allows for additional checks with specific dialects if you so want! https://github.com/sequelize/sequelize/blob/main/packages/core/src/abstract-dialect/data-types.ts
DataTypes
Brayden
No branches or pull requests
Describe the bug
When generating models, certain type declarations are omitted, specifically noted with
Date
andnumber
.Please note: this may just be a SQLite issue.
To Reproduce
number
sync-models
in your app./models
and see if column type shows correctly (if I'm correct, it won't)The text was updated successfully, but these errors were encountered: