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: allow value type to mismatch with column type #145

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rentalhost
Copy link
Contributor

Due to SQLite flexibility, we can store text in INTEGER fields, but this is currently impossible: when attempting to do so, the value is automatically converted to NULL.

Although this can be quite critical in some contexts, it is supported by SQLite as a 'non-bug'. If you already have fields with mismatched types, it becomes impossible to make any corrections because the value will always be converted to NULL. So, even though I'm personally not a big fan of this idea, it cannot be ignored.

Due to SQLite flexibility, we can store text in INTEGER fields, but this is currently impossible: when attempting to do so, the value is automatically converted to NULL.
Copy link

vercel bot commented Aug 14, 2024

@rentalhost is attempting to deploy a commit to the Mediaload Team on Vercel.

A member of the Team first needs to authorize 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

Successfully merging this pull request may close these issues.

1 participant