mirror of
https://github.com/retspen/webvirtcloud
synced 2026-11-11 04:36: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
6
logs/apps.py
Normal file
6
logs/apps.py
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class LogsConfig(AppConfig):
|
||||
name = "logs"
|
||||
default_auto_field = "django.db.models.AutoField"
|
||||
Loading…
Add table
Add a link
Reference in a new issue