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

Replace PositiveSmallIntegerField against PositiveIntegerField #7585

Merged
merged 2 commits into from
Jun 20, 2023

Conversation

jrief
Copy link
Contributor

@jrief jrief commented Jun 16, 2023

Description

In performing a migration towards version 4 I encountered a "value to big for small integer" exception.

This is because migration 0026 adds a temporary field for title_id. In my case some values do not fit in there.

@fsbraun fsbraun added the 4.1 label Jun 17, 2023
@fsbraun

This comment was marked as outdated.

Copy link
Sponsor Member

@fsbraun fsbraun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, my previous comment was off-topic. Now, we're talking about a temporary field needed for migration 27 here to store the primary key. This must be at least PositiveIntegerField.

@fsbraun fsbraun merged commit 90f9a0e into django-cms:develop-4 Jun 20, 2023
88 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants