mix ash_scylla.reset (AshScylla v1.5.0)

Copy Markdown View Source

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