Ich habe für eine Weile, um dieses Konzept meinem Kopf wurde Einwickeln, wenn ich ein neues django Projekt starten, drängt es mich Migrationen anwenden:Was ist Djangos Migration?
# python manage.py runserver
Performing system checks...
System check identified no issues (0 silenced).
You have 13 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): admin, auth, contenttypes, sessions.
Run 'python manage.py migrate' to apply them.
warum ich es tun müssen? Könnte jemand eine kurze Erklärung und einen einfachen Anwendungsfall von migration
geben?
EDIT: Ich habe beschlossen, diese Frage zu veröffentlichen, weil ich keine ähnliche Frage hier auf Stackoverflow sah, vielleicht gibt es eine bessere Erklärung als im Dokument.
https://docs.djangoproject.com/en/dev/topics/migrations/ Hinzufügen/Entfernen von Tabellen/Spalten usw. –