Skip to content

Its-Alex/golang-migrate-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

golang-migrate-example

Example of use of golang-migrate, with postgres (13).

Requirements

  • docker
  • docker-compose

Hack

First you must setup database

$ docker-compose up -d

You can now execute up or down migrations:

$ ./scripts/execute-up-migrations.sh

or:

$ ./scripts/execute-down-migrations.sh

Releases

No releases published

Packages

No packages published

Languages