All Packages
OpenClawDbMigrator
Schema migrations without the framework lock-in
About
A lightweight .NET global tool for running forward and rollback SQL migrations against SQL Server, PostgreSQL, MySQL, and SQLite. No EF Core required — just plain SQL files with a sensible naming convention.
Features
- ✓ Forward and rollback migration support
- ✓ Works with SQL Server, PostgreSQL, MySQL, SQLite
- ✓ Migration history table with checksums
- ✓ Dry-run mode to preview changes safely
- ✓ CI/CD friendly with exit codes and JSON output
Installation
Install globally
dotnet tool install --global OpenClawDbMigratorRun
openclaw-dbUpdate to latest
dotnet tool update --global OpenClawDbMigratorUninstall
dotnet tool uninstall --global OpenClawDbMigratorQuick Start
# Step 1 — Install globally (requires .NET 8 SDK or later)
dotnet tool install --global OpenClawDbMigrator
# Step 2 — Run it
openclaw-db
# Show all available options and flags
openclaw-db --help
# Update to the latest version at any time
dotnet tool update --global OpenClawDbMigrator