Add support for ALTER TABLE REMOVE COLUMN for the removeColumn method for SQLite #15205
Open
4 of 8 tasks
Labels
dialect: sqlite
For issues and PRs. Things that involve SQLite (and do not involve all dialects).
type: refactor
For issues and PRs. Things that improve the code readability, maintainability, testability, etc.
Issue Creation Checklist
Feature Description
Describe the feature you'd like to see implemented
I noticed that Sequelize drops tables (and recreates them with the data) with SQLite when using the changeColumn and removeColumn methods:
https://sequelize.org/docs/v6/other-topics/query-interface/#changing-and-removing-columns-in-sqlite
I don't think SQLite has added support for changing a table, but support for ALTER TABLE DROP COLUMN has been added since version 3.35.0:
https://www.sqlite.org/releaselog/3_35_0.html
Describe why you would like this feature to be added to Sequelize
SQLite now supports removing columns.
Is this feature dialect-specific?
Would you be willing to resolve this issue by submitting a Pull Request?
Indicate your interest in the addition of this feature by adding the 👍 reaction. Comments such as "+1" will be removed.
The text was updated successfully, but these errors were encountered: