django-graphql-auth icon indicating copy to clipboard operation
django-graphql-auth copied to clipboard

By default use BigAutoField for automatically generated ids

Open mnieber opened this issue 4 years ago • 0 comments

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'.

mnieber avatar May 19 '21 05:05 mnieber