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

fix: change condition to treat tinyint as boolean #573

Merged
merged 1 commit into from
Sep 1, 2024

Conversation

aaqilniz
Copy link
Contributor

@aaqilniz aaqilniz commented Mar 16, 2024

tinyint(1) is considered a boolean which the connector handles correctly but if a user creates a column with only tinyint - the connector fails to change it to a boolean.

Checklist

  • DCO (Developer Certificate of Origin) signed in all commits
  • npm test passes on your machine
  • New tests added or existing tests modified to cover all changes
  • Code conforms with the style guide
  • Commit messages are following our guidelines

@aaqilniz aaqilniz force-pushed the fix/tinyint-as-boolean branch from aaec45e to 91f6d25 Compare August 22, 2024 19:23
@aaqilniz aaqilniz marked this pull request as ready for review August 22, 2024 19:23
@aaqilniz aaqilniz merged commit 8812d51 into loopbackio:master Sep 1, 2024
5 checks passed
@aaqilniz aaqilniz deleted the fix/tinyint-as-boolean branch September 1, 2024 15:31
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

Successfully merging this pull request may close these issues.

2 participants