On Thu, May 12, 2016 at 08:11:42PM -0700, Noumia Ngangoum wrote:
> Yeah Eugene, I know that, that's how I do now.
> I was looking for a one-liner command or something.

There is no one-liner, because you are not supposed to remove all
migrations. The entire point of migrations is that once you crate
them, you keep them together with your code.

Occasionally you might want to squash your migrations, in case the
migration history becomes too long and takes too much time to process
one-by-one, but even when you do that, you do not simply remove all
migrations and reset the migrations table.

Cheers,

Michal

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/20160513054234.GC435%40koniiiik.org.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: Digital signature

Reply via email to