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
Describe the bug I believe this only happens Changing a column on sqlite from integer to varchar removes data types on unsigned integer columns
To Reproduce Steps to reproduce the behavior:
with self.schema.create("course_progress") as table: table.big_increments("id") table.integer("user_id").unsigned() table.integer("course_id").unsigned() table.integer("step") table.foreign("user_id").references("id").on("users") table.foreign("course_id").references("id").on("courses") table.timestamps()
with self.schema.table("course_progress") as table: table.string("step").change()
now both the user_id and course_id columns lose their data types
Expected behavior table should be fully rebuilt to include foreign keys and other columns
Screenshots or code snippets Screenshots help a lot. If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
What database are you using?
Additional context Any other steps you are doing or any other related information that will help us debug the problem please put here.
The text was updated successfully, but these errors were encountered:
josephmancuso
No branches or pull requests
Describe the bug
I believe this only happens Changing a column on sqlite from integer to varchar removes data types on unsigned integer columns
To Reproduce
Steps to reproduce the behavior:
now both the user_id and course_id columns lose their data types
Expected behavior
table should be fully rebuilt to include foreign keys and other columns
Screenshots or code snippets
Screenshots help a lot. If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
What database are you using?
Additional context
Any other steps you are doing or any other related information that will help us debug the problem please put here.
The text was updated successfully, but these errors were encountered: