Change default ID field to be BigAutoField.

* Add relevant migration files for all apps.
This commit is contained in:
Owllex 2022-10-31 13:13:02 -07:00
parent f9ca50ba5f
commit 65ed5d29df
8 changed files with 158 additions and 2 deletions

View file

@ -301,8 +301,10 @@ ATTRIBUTE_STORED_MODEL_RENAME = [
(("players", "playerdb"), ("accounts", "accountdb")),
(("typeclasses", "defaultplayer"), ("typeclasses", "defaultaccount")),
]
# Default type of autofield (required by Django)
DEFAULT_AUTO_FIELD = "django.db.models.AutoField"
# Default type of autofield (required by Django), which defines the type of
# primary key fields for all tables. This type is guaranteed to be at least a
# 64-bit integer.
DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField"
######################################################################
# Evennia webclient options