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

Migrations fail #5

Open
tuky opened this issue Feb 13, 2013 · 0 comments
Open

Migrations fail #5

tuky opened this issue Feb 13, 2013 · 0 comments

Comments

@tuky
Copy link

tuky commented Feb 13, 2013

Migration 0003_auto__chg_field_testuser_facebook_id.py cannot be applied because it tries and fails to cast column "facebook_id" from char to bigint.

Possible workaround:
syncdb --all
migrate facetools --fake

Favorable long term solution:
Split migration 0003 into 2: one to remove the column and one to add the new big int column. I don't know if it is possible to do it smarter and actually try to parse the char IDs as bigints.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant