diefenbach / django-lfs

An online-shop based on Django
http://www.getlfs.com
BSD 3-Clause "New" or "Revised" License
622 stars 222 forks source link

Split lfs_migrate command to the bunch of South migrations. #28

Closed Zagrebelin closed 11 years ago

Zagrebelin commented 12 years ago

I propose to change custom migration command to the set of self-writen South migrations.

Pros:

  1. It's impossible to migrate between minor versions (0.7.2->0.7.5).
  2. We can provide forward and backward migrations to revert any update.

Cons:

  1. It's hard to first time migrate. It's necessary to choose migrations that alredy done and launch manage.py migrate --fake xxx where xxxx is number of migration.
diefenbach commented 11 years ago

This has also been done here: https://github.com/diefenbach/django-lfs/pull/34

Thanks for contribution! Kai