Skip to content

Commit ec7a249

Browse files
etchegomdanihodovic
authored andcommitted
explicitly set the default value of the automatic field to avoid a new migration being proposed
1 parent 1071027 commit ec7a249

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

django_webhook/apps.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
class WebhooksConfig(AppConfig):
66
name = "django_webhook"
7+
default_auto_field = "django.db.models.AutoField"
78

89
def ready(self):
910
from django.conf import settings

0 commit comments

Comments
 (0)