FuelLabs / fuel-indexer

🗃 The Fuel indexer is a standalone service that can be used to index various components of the Fuel blockchain.
https://docs.fuel.network/docs/indexer/
140 stars 66 forks source link

enhancement: add fuel indexer reset-database #1517

Closed lostman closed 4 months ago

lostman commented 7 months ago

Description

Users working on their indexers may want to restore the database to a clean slate.

fuel indexer reset-database would be the equivalent of calling sqlx database reset in fuel-indexer/packages/fuel-indexer-database/postgres.