How to Remove the case records

Hi,

I have more than 4,000 case records in my local setup
how to remove all these records …without affecting other functionality
help me for the same.
Thanks

Hi

We generally don’t delete data at all. You can assign the cases to a temp
user and then delete that user :
https://confluence.dimagi.com/display/internal/Deleted+Users%2C+Deactivated+Users%2C+and+Archived+Forms

This won’t actually remove them from your database but will mark them as
deleted. If you want to truly delete them you’ll have to use a python shell
to iterate through them and delete each one.

Simon Kelly
Director of Server Engineer | Dimagi

··· On 22 June 2017 at 10:24, Pravin Ambre wrote:

Hi,

I have more than 4,000 case records in my local setup
how to remove all these records …without affecting other functionality
help me for the same.
Thanks


You received this message because you are subscribed to the Google Groups
"CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.