A Go package to make patching your Postgres database schema easier.
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
Andrew Chilton 82b742612d First real working version, can patch 0->1, 1->2, and 2->0 4 anos atrás
bin First real working version, can patch 0->1, 1->2, and 2->0 4 anos atrás
example First real working version, can patch 0->1, 1->2, and 2->0 4 anos atrás
License patchy - Easy patching of your Postgres database 4 anos atrás
ReadMe.md patchy - Easy patching of your Postgres database 4 anos atrás
patchy.go First real working version, can patch 0->1, 1->2, and 2->0 4 anos atrás
patchy_test.go patchy - Easy patching of your Postgres database 4 anos atrás

ReadMe.md

patchy : Easy patching of your Postgres database

Overview GoDoc Build Status

Patchy aims to provide you both a binary you can use to patch your database, or a library you can use when starting your app to make sure your database is patched to the level required by your app.

Patches are written in simple files (“forward-00000-00001.sql” and “reverse-00001-00000.sql”) and patchy will run all patches required to bring your database up to the level required.

Install

go get github.com/chilts/patchy

Example

level, err := patchy.Patch(3)

Author

ToDo.

License

Apache 2.0.