An open API service indexing awesome lists of open source software.

https://github.com/kenpusney/postmigrate

A barebone PostgreSQL schema migration tool
https://github.com/kenpusney/postmigrate

database migration postgres ruby

Last synced: 7 months ago
JSON representation

A barebone PostgreSQL schema migration tool

Awesome Lists containing this project

README

          

# postmigrate

A barebone PostgreSQL schema migration tool

# Usage

* Create your `init/init.sql` script to initialize the database.
* Create your `config.rb` with DB host / database name / user

```shell
# initialize the database environment
./migrate init

# create a new version of migration
./migrate new

# update to newest version
./migrate up
```

# Note

* Please add `.current` and `config.rb` into your version control ignore list.