1.0.2 • Published 9 years ago

verdb v1.0.2

Weekly downloads
59
License
-
Repository
github
Last release
9 years ago

purpose

verdb manages the execution of PostgreSQL DDL scripts. It expects to be executed in a directory containing list of sub-directories, each of which corresponds to a set of changes. The sub-directories must contain an 'up.sql' and a 'down.sql' script. (although these filename may be changed)

The list, and order of the changes, must be maintained in a control file. This file is an ordered list of sub-directories. The pointer will reference a single sub-directory name contained in this file.

verdb maintains a pointer to the last batch (directory) of DDL scripts that executed correctly.

example

verdb init database postgres batches
verdb status
verdb up all
verdb show all
verdb extract stored_procedure schema.name
verdb gen trigger students --table=students --func=log_students
verdb gen table instructors --table=instructors
verdb gen index instructors-index --table=instructors --fields=name,location --schema=sch

install

With npm do:

sudo npm install verdb -g

license

MIT

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago

0.0.12

9 years ago

0.0.11

9 years ago

0.0.10

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago