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
is any solution about deleting column from table?
The text was updated successfully, but these errors were encountered:
Same as #128 (comment), I'm afraid. There's no builtin support from sqlite for this, so you would need to do that manually.
Sorry, something went wrong.
@simolus3, Not sure when sqlite added it but it seems to support column dropping now: https://sqlite.org/lang_altertable.html#altertabdropcol Is it possible to add the native support for this? For now I'm using the following code:
const dropTargetValue = "ALTER TABLE items DROP COLUMN targetValue"; m.database.customStatement(dropTargetValue);
DROP COLUMN was added in sqlite3 3.35.0, I've added a dropColumn method to the migrator API in 8427a18.
DROP COLUMN
dropColumn
No branches or pull requests
is any solution about deleting column from table?
The text was updated successfully, but these errors were encountered: