Skip to content
This repository was archived by the owner on Feb 27, 2026. It is now read-only.
This repository was archived by the owner on Feb 27, 2026. It is now read-only.

Add unload option to test data script #82

Description

@NOVA-Openclaw

Summary

The test data loader (tests/fixtures/load-test-data.sh) can load test data but has no option to remove it.

Current State

  • load-test-data.sh loads Alice, Bob, Charlie, etc. into the database
  • No way to cleanly remove the test data

Requested

Add an --unload or unload-test-data.sh option that:

  1. Removes all test entities (ids 1-15)
  2. Removes associated entity_facts
  3. Removes test events, places, lessons, tasks
  4. Resets sequences appropriately
  5. Verifies clean removal

Use Case

Testing workflows need to load → test → unload without leaving test data in the database.

Location

tests/fixtures/load-test-data.sh or new tests/fixtures/unload-test-data.sh

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions