database-reset-staging

Community

Clean staging database, ready for fresh migrations.

AuthorDarkMonkDev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Staging database inconsistencies, outdated schemas, or corruption can block new deployments and testing, requiring manual, error-prone, and time-consuming resets.

Core Features & Use Cases

  • Full Schema Drop: Performs a complete, destructive reset of the staging database (witchcityrope_staging), dropping all public and cms schemas.
  • Automated Rebuild: Stops staging containers, drops schemas, then restarts containers to trigger automatic migrations and schema rebuild.
  • Verification: Checks for successful schema rebuild and API health post-reset, ensuring the environment is ready for use.
  • Use Case: After a major schema change or when facing database inconsistencies on staging, use this Skill to quickly and reliably reset the database, ensuring migrations run on a clean slate.

Quick Start

Reset the staging database, dropping all schemas and rebuilding.

Dependency Matrix

Required Modules

bashsshpsqldocker-composecurl

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: database-reset-staging
Download link: https://github.com/DarkMonkDev/WitchCityRope/archive/main.zip#database-reset-staging

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.