2

Would it be possible to run "python manage.py syncdb" mutiple times towards the database? Will it cause corruption?

hutanrimba
  • 149
  • 1
  • 10

1 Answers1

1

You can run python manage.py syncdb as many times as you want without any database corruption. It does not alter any existing tables.

Syncdb documentation.

catavaran
  • 44,703
  • 8
  • 98
  • 85
  • Thanks catavaran, will it by default skip it, if it's already synced before? Do you know if there is any documentation that explains this? – hutanrimba Jan 24 '15 at 05:00
  • Yes, this command skips tables that already exist in db. Documentation is available here: https://docs.djangoproject.com/en/1.6/ref/django-admin/#syncdb – catavaran Jan 24 '15 at 05:13