Devops Recreate DB

Table of Contents

When to use this skill

The schema drifted (bearings warns), migrations need a clean slate, or the database is wedged: rebuild from scratch.

How to use this skill

  1. Recreate — drop, create, schema, seed:

    ./projects/ores.compass/compass.sh db recreate -y -k
    

    Stop services first if they hold connections: compass services stop.

  2. Verify:

    ./projects/ores.compass/compass.sh services status
    

Recipes

Reference

Emacs 29.1 (Org mode 9.6.6)