Skip to content

Delete

This allows you to delete data from the postgres database or csv files. This is useful if you want to start fresh and start indexing again or if you updated an ABI and want to drop the tables and start over.

rindexer delete

Example

rindexer delete
 
This will delete all data in the postgres database and csv files for the project at: /Users/joshstevens/code/rindexer/examples/rindexer_demo_cli
This operation can not be reverted. Make sure you know what you are doing.
 
Are you sure you wish to delete the database data (it can not be reverted)? [yes, no]: yes 
 
Successfully deleted all data from the postgres database
 
Are you sure you wish to delete the csv data (it can not be reverted)? [yes, no]: yes
 
Successfully deleted all csv files.