Skip to content

Explicitly specify 'id' field in attachment model - #502

Open
ethanhann wants to merge 1 commit into
lqez:mainfrom
ethanhann:bug/0003_alter_attachment_id_does_not_exists
Open

ethanhann wants to merge 1 commit into
lqez:mainfrom
ethanhann:bug/0003_alter_attachment_id_does_not_exists

Conversation

@ethanhann

Copy link
Copy Markdown

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