django-admin migrate [app_label] [migration_name]

Updates database schema. Manages both apps with migrations and those without


app_labelApp label of an application to synchronize the state
migration_nameDatabase state will be brought to the state after that migration. Use the name "zero" to unapply all migrations


--noinput, --no-inputTells Django to NOT prompt the user for input of any kind
--database <DATABASE>Nominates a database to synchronize. Defaults to the "default" database
--fakeMark migrations as run without actually running them
--fake-initialDetect if tables already exist and fake-apply initial migrations if so. Make sure that the current database schema matches your initial migration before using this flag. Django will only check for an existing table name
--planShows a list of the migration actions that will be performed
--run-syncdbCreates tables for apps without migrations
--checkExits with a non-zero status if unapplied migrations exist
--skip-checksSkip system checks
-h, --helpShow this help message and exit
--versionShow program's version number and exit
-v, --verbosity <{0,1,2,3}>Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output
--settings <SETTINGS>The Python path to a settings module, e.g. "myproject.settings.main". If this isn't provided, the DJANGO_SETTINGS_MODULE environment variable will be used
--pythonpath <PYTHONPATH>A directory to add to the Python path, e.g. "/home/djangoprojects/myproject"
--tracebackRaise on CommandError exceptions
--no-colorDon't colorize the command output
--force-colorForce colorization of the command output