Skip to content

Releases: oelmekki/pgrebase

pgrebase-1.2.0 : Essentially a refactoring version

03 Jul 15:49
1.2.0
Compare
Choose a tag to compare

A lot of refactoring and modernization, migration to Gitlab, the adding
of a test suite as well, but the documented api did not change.

pgrebase-1.1.2

31 Dec 09:14
Compare
Choose a tag to compare

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

28 Nov 18:25
Compare
Choose a tag to compare

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.0

16 Nov 16:55
Compare
Choose a tag to compare

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

14 Nov 12:01
Compare
Choose a tag to compare

Minor changes:

You can download here a binary for linux/amd64.

For other architecture, please build it following steps in README.

pgrebase-1.0.0

13 Nov 16:04
Compare
Choose a tag to compare

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.