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
Recreate — drop, create, schema, seed:
./projects/ores.compass/compass.sh db recreate -y -k
Stop services first if they hold connections:
compass services stop.Verify:
./projects/ores.compass/compass.sh services status
Recipes
Reference
- How do I orient a new session? — surfaces schema drift.