mirror of
https://github.com/retspen/webvirtcloud
synced 2026-11-10 20:26:48 +00:00
fix: track migrations; installs apply them instead of generating them
The *migrations/* ignore rule is removed. appsettings, computes and logs pin default_auto_field to AutoField, so makemigrations --check reports no pending BigAutoField migrations and existing installs need no schema change. The Vagrant provisioning no longer runs makemigrations, which created install-specific migration files that conflict with the committed history; it only runs migrate.
This commit is contained in:
parent
a6364f5d9b
commit
fd5aa069be
5 changed files with 13 additions and 2 deletions
|
|
@ -3,3 +3,4 @@ from django.apps import AppConfig
|
|||
|
||||
class AppsettingsConfig(AppConfig):
|
||||
name = "appsettings"
|
||||
default_auto_field = "django.db.models.AutoField"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue