def sync_database(): management.call_command('makemigrations', 'dwarf') management.call_command('migrate', 'dwarf')