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

[BUG]: it's still showing that the column types are incompatible even though I have changed the type #3589

Open
1 task done
Boby900 opened this issue Nov 21, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Boby900
Copy link

Boby900 commented Nov 21, 2024

Report hasn't been filed before.

  • I have verified that the bug I'm about to report hasn't been filed before.

What version of drizzle-orm are you using?

^0.36.0

What version of drizzle-kit are you using?

^0.27.1

Other packages

No response

Describe the Bug

I have changed the type of the user_id column from integer to text,
I was referencing this column in two other columns as well so even though in my migrations files it's showing that it altered the type of all the tables("foreign key included") it's saying that types are incompatible.
I have some existing data in the tables which is of type integer but from now on I want to change the type of all tables from integer to text

Screenshot (705)

@Boby900 Boby900 added the bug Something isn't working label Nov 21, 2024
@Boby900
Copy link
Author

Boby900 commented Nov 21, 2024

Screenshot (706)

@Boby900 Boby900 closed this as completed Nov 21, 2024
@Boby900 Boby900 reopened this Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant