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
If you try to drop a column that has a not null constraint in sqlite3, the migration tool says it was "Unable to find column to change".
See the following gist for an example setup: https://gist.github.com/strathausen/e6b26567e452fb09abce
The problem seems to be the test in line 150 in the schema/ddl.js file of sqlite3.
schema/ddl.js
https://github.com/tgriesser/knex/blob/0.7.3/lib/dialects/sqlite3/schema/ddl.js#L150
The text was updated successfully, but these errors were encountered:
fixes knex#602, drop column with not null constraint in sqlite3
ff0ef5a
ae13287
Thanks for the gist @strathausen. Any chance you could turn that into a repo and post a link here? I'll give it a clone and see if I can fix this.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
If you try to drop a column that has a not null constraint in sqlite3, the migration tool says it was "Unable to find column to change".
See the following gist for an example setup:
https://gist.github.com/strathausen/e6b26567e452fb09abce
The problem seems to be the test in line 150 in the
schema/ddl.js
file of sqlite3.https://github.com/tgriesser/knex/blob/0.7.3/lib/dialects/sqlite3/schema/ddl.js#L150
The text was updated successfully, but these errors were encountered: