Skip to content

Package to manage database migrations, using plain SQL Files.

License

Notifications You must be signed in to change notification settings

proceduretech/dbmigrate

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This package is to manage database migrations using plain SQL files on multiple databases or schema. Currently supports only Postgres.

It provides dbmigrate cli tool to perform following operations:

- generate blank migration file, with given name
- initialize the migration on one or more fresh databases
- apply the unapplied migrations on one or more databases
- rollback the last applied migrations on one or more databases

Usage:

- pip install dbmigrate-treebo
- dbmigrate

This package takes care of generating a migration file in a specific template, which is understood by the package, to apply the migration. It's suggested to not generate a migration file manually, or tweak the migration file template that is generated.

About

Package to manage database migrations, using plain SQL Files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%