DBWarden
Your SQLAlchemy models are your migrations.
DBWarden is a model‑first database migration system built on SQLAlchemy.
Define your schema in Python, review the generated SQL, and apply it with confidence, backed by a convergence gate that proves your migrations match your models.
This organization is the home of the DBWarden project and its official plugins.
Community plugins use the same entry‑point mechanism.
Before they run, DBWarden asks for your explicit consent. No third‑party code executes without your knowledge.
→ Browse community plugins
→ Learn about the Approved tier
# install DBWarden
uv add dbwarden
# create a configuration
echo "
from dbwarden import database_config
database_config(
database_name='primary',
database_type='postgresql',
database_url='postgresql://localhost/myapp',
)
" > dbwarden.py
# generate your first migration
dbwarden make-migrations "create initial tables"
# apply it
dbwarden migrateFull documentation with guides, cookbook, and API reference:
dbwarden.emiliano-go.com
We welcome contributions to the core tool and to plugins.
Start with the core contribution guide or jump into any plugin’s issue tracker.
DBWarden and all official plugins are released under the MIT License.