ConceptsDatastores
Delete a datastore
A delete removes the container and its volume. You lose the data, and there is no undo.
ferry db rm app-dbA datastore is one container and one volume.
1 / 3
There is no undo
The command removes the container and its volume. Back up the data first.
If a service uses the datastore
Ferry refuses, and lists each service that has a reference to the datastore.
error: still in use — re-run with --force to delete it anyway: datastore 'app-db' is referenced by service 'api' (DATABASE_URL); they would fail to deploy or restart without it. Remove the references first, or delete with force=true (conflict)Remove the references first. Or delete the datastore anyway:
ferry db rm app-db --forceThen those services fail at their next deploy or restart.