# `mix ash_scylla.reset`
[🔗](https://github.com/ohhi-vn/ash_scylla/blob/main/lib/mix/tasks/ash_scylla.reset.ex#L1)

Drops the ScyllaDB keyspace (and all its data) and re-runs migrations.

This task:
1. Drops the existing keyspace with `DROP KEYSPACE IF EXISTS`
2. Recreates the keyspace
3. 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.Repo

## Options

  - `--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

---

*Consult [api-reference.md](api-reference.md) for complete listing*
