Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/crgimenes/migration
SQL migration tool
https://github.com/crgimenes/migration
go golang migration package sql
Last synced: about 17 hours ago
JSON representation
SQL migration tool
- Host: GitHub
- URL: https://github.com/crgimenes/migration
- Owner: crgimenes
- License: mit
- Created: 2018-11-18T14:38:56.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-10-07T02:18:41.000Z (about 1 month ago)
- Last Synced: 2024-11-19T12:58:57.196Z (1 day ago)
- Topics: go, golang, migration, package, sql
- Language: Go
- Homepage:
- Size: 3.46 MB
- Stars: 8
- Watchers: 4
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# migration
[![Build Status](https://travis-ci.org/gosidekick/migration.svg?branch=master)](https://travis-ci.org/gosidekick/migration)
[![Go Report Card](https://goreportcard.com/badge/github.com/gosidekick/migration)](https://goreportcard.com/report/github.com/gosidekick/migration/v3)
[![GoDoc](https://godoc.org/github.com/gosidekick/migration?status.png)](https://godoc.org/github.com/gosidekick/migration/v3)
[![MIT Licensed](https://img.shields.io/badge/license-MIT-green.svg)](https://tldrlegal.com/license/mit-license)
[![codecov](https://codecov.io/gh/gosidekick/migration/branch/master/graph/badge.svg)](https://codecov.io/gh/gosidekick/migration)
[![Maintainability](https://api.codeclimate.com/v1/badges/a99a88d28ad37a79dbf6/maintainability)](https://codecov.io/gh/gosidekick/migration)PostgreSQL migration tool with transactions
```console
./migration exec -url "postgres://postgres@localhost:5432/dbname?sslmode=disable" -dir ./fixtures -action up
``````console
./migration exec -url "postgres://postgres@localhost:5432/dbname?sslmode=disable" -dir ./fixtures -action down 2
``````console
./migration exec -url "postgres://postgres@localhost:5432/dbname?sslmode=disable" -dir ./fixtures -action status
```