On Nov 2, 2017 4:01 AM, "Chris Wedgwood" <wedgem...@gmail.com> wrote:
Hi As part of my deployment process I want to be able to have some db scripts that are re-runnable For example I have some internal configuration tables that I would like to be able to change values with a merge statement in the same file but not have to create a new migration file I suppose my question is does the migration framework allow for re-runnables? If not can anyone recommend a good approach for this? I have no idea what you are actually trying to achieve, but it sounds like a custom management command may be able to get you there: https://docs.djangoproject.com/en/1.11/howto/custom-management-commands/ -James -- 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/CA%2Be%2BciW278wFSMeZvSC5N3q%2BYr3MqM7t7NJfCBeNxqQX1M8D7w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.