pgrebase

Easy postgres codebase injection - aka postgres non data live reload

OTHER License

Stars
337
Committers
3

Bot releases are visible (Hide)

pgrebase - pgrebase-1.2.0 : Essentially a refactoring version Latest Release

Published by oelmekki over 1 year ago

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 - pgrebase-1.1.2

Published by oelmekki almost 8 years ago

Bugfix release

Install

You can download here a binary for linux/amd64.

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

pgrebase - pgrebase-1.1.1

Published by oelmekki almost 8 years ago

Bugfix release

Install

You can download here a binary for linux/amd64.

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

pgrebase - pgrebase-1.1.0

Published by oelmekki almost 8 years ago

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 - pgrebase-1.0.1

Published by oelmekki almost 8 years ago

Minor changes:

You can download here a binary for linux/amd64.

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

pgrebase - pgrebase-1.0.0

Published by oelmekki almost 8 years ago

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.