Drops the ScyllaDB keyspace (and all its data) and re-runs migrations.
This task:
- Drops the existing keyspace with
DROP KEYSPACE IF EXISTS - Recreates the keyspace
- Runs the migration task to rebuild the schema
Usage
# Reset the auto-detected repo
mix ash_scylla.reset
# Reset a specific repo
mix ash_scylla.reset --repo MyApp.RepoOptions
--repo- The repo module to use (defaults to auto-detected repo)--keyspace- Override the keyspace name--nodes- Override the ScyllaDB nodes (comma-separated)--dry-run- Print what would be done without executing--quiet- Suppress output