This is a set of scripts demonstrate usage of Rumba[rdbm] by DBinvent.
Rumba is a database schema migration tool for PostgreSQL that helps manage, control and deploy database schema changes across various environments and development stages.
It employs the automatic SQL generation and plain-SQL approach in one software. Scripts can be assigned with a version and a certain migration phase, which brings developers true flexibility to perform the action at an exact migration stage.
Every usecase perform migration and YAML & SQL dump to compare with expected result.
-
Baseline Test license and perform a self migration.
-
Create DB Test Create User(role) and Database on demand.
-
Simple migration Simple migration with tracking versioned YAML and SQL script
-
Versioned YAML schemas migration Multiple YAML scripts with limit by defining target version
-
Versioned SQL migration Multiple SQL scripts with limit by defining target version
comming soon...
-
StoredProc Repeatable migration
-
Complex Mixed YAML Schemas, SQL, Triggers and Pre Deploy SQL
-
Tag and User Add tagging and user info into migration
-
Simple ETL Simple example of Extract (Transform) Load data with the schema migration
-
ETL: mixes SQL and CSV Mixing data sourcing from plain SQL and CSV
-
Dry Run Show generated SQL code without real execution
-
Log DB Copy Deployment history journal to another DB
Get a list of all available test cases:
./test.sh
./test.sh baseline # or any other usecase your prefer to run
./test.sh baseline psql
So, you can check generated tables and history journal.
./test.sh baseline bash
Very useful to play with preconfigured rdbm app. Try: rdbm help