Content-Length: 252797 | pFad | http://github.com/bf/go-simple-postgresql-migrate

65 GitHub - bf/go-simple-postgresql-migrate: a simple go-based database migration tool for PostgreSQL
Skip to content

bf/go-simple-postgresql-migrate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-simple-postgresql-migrate

An extremely simple PostgreSQL migration library. Migrations will be stored in plain SQL as text files in local folder postgresql-migrations.

How to get started

Check out the repository, download dependencies and install:

go mod download; go build; go install

Initialize the database connection with

./go-simple-postgresql-migrate init

Now you can create new migrations for the database schema with

./go-simple-postgresql-migrate create my new transaction

Apply all migrations to your database with

./go-simple-postgresql-migrate up

Roll-back the most recent migration with

./go-simple-postgresql-migrate down

About

a simple go-based database migration tool for PostgreSQL

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/bf/go-simple-postgresql-migrate

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy