Releases: oelmekki/pgrebase
pgrebase-1.2.0 : Essentially a refactoring version
pgrebase-1.1.2
Bugfix release
Install
You can download here a binary for linux/amd64.
For other architecture, please build it following steps in README.
pgrebase-1.1.1
Bugfix release
- fix regression on files producing errors, thanks to @leobessa
Install
You can download here a binary for linux/amd64.
For other architecture, please build it following steps in README.
pgrebase-1.1.0
This version introduces two major features.
Support for types
Types are now supported, in the same fashion than functions/triggers/views.
A note of warning, though: you should not use this to manage types that you will use as columns for your tables. If you do, pgrebase will fail to drop types when trying to reload them (we don't cascade, but we don't want to inadvertently delete data). Use those types for example to return a set of given fields in your functions.
Basic support for dependencies
You can now declare the dependencies of your files:
-- require "my_other_function.sql"
This is very basic support: this is not about loading files or resolving paths. It will only make sure that the unit you mentioned is loading before current unit when migrating up, and drop before current unit when migrating down. You can only specify mention to the same kind of unit (that is, a function can only require an other function, a view can only require an other view, etc).
Paths for require are relative to your unit kind directory (eg: ./sql/functions/
, ./sql/triggers/
, etc).
Install
You can download here a binary for linux/amd64.
For other architecture, please build it following steps in README.
pgrebase-1.0.1
Minor changes:
- be tolerant to spacing
- internal architecture change
- documentation clarification
- add version in usage output
You can download here a binary for linux/amd64.
For other architecture, please build it following steps in README.
pgrebase-1.0.0
This is the initial release of PgRebase.
You can download here a binary for linux/amd64.
For other architecture, please build it following steps in README.