Skip to content

By default use BigAutoField for automatically generated ids#113

Open
mnieber wants to merge 2 commits intoPedroBern:masterfrom
mnieber:fix/use_default_auto_field
Open

By default use BigAutoField for automatically generated ids#113
mnieber wants to merge 2 commits intoPedroBern:masterfrom
mnieber:fix/use_default_auto_field

Conversation

@mnieber
Copy link
Contributor

@mnieber mnieber commented May 19, 2021

This fixes a warning:

WARNINGS:
graphql_auth.UserStatus: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.
	HINT: Configure the DEFAULT_AUTO_FIELD setting or the GraphQLAuthConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.

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