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

Models with string typed primary keys violates integer field in the hooks #128

Closed
javrasya opened this issue Jan 28, 2020 · 0 comments
Closed
Assignees
Labels
Milestone

Comments

@javrasya
Copy link
Owner

@javrasya javrasya commented Jan 28, 2020

Description:

As @xuziheng1002 has reported in issue #127;
Since the object id fields in the hook model classes are positive integer field, it is impossible to have models with string primary key field.

Acceptance Criteria:

  • It should be Charfield instead of PositiveIntegerField as it is in Transition and TransitionApproval.
  • Prepare a migration script that would safely migrate the existing object id's to its string values.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant