Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Add info on how to reset the database.

...

Resetting database

Django model classes are represented as tables in the database.
When members of model classes are added, removed or changed, the database needs to be recreated.
There's probably a way of keeping all the data too but this does not save any data. Beware:

  • localhost:lobber/src% ./dev-django-admin.sh sqlreset share | ./dev-django-admin.sh dbshell