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

Explicitly specify 'id' field in attachment model #502

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ethanhann
Copy link

This resolves a downstream issue where projects using "BigAutoField" as their default auto field, will generate an unwanted migration.

The unwanted migration will switch the field from AutoField to BigAutoField. This is unnecessary and causes issues - especially when working in an environment where you don't have permission to create the migration (e.g. #492).

This resolves a downstream issue where projects using "BigAutoField" as their default auto field, will generate an unwanted migration.

 The unwanted migration will switch the field from AutoField to BigAutoField. This is unnecessary and causes issues - especially when working in an environment where you don't have permission to create the migration.
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

Successfully merging this pull request may close these issues.

1 participant