Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cinemast/dbolve
simple & safe SQL migration library for go
https://github.com/cinemast/dbolve
Last synced: about 2 months ago
JSON representation
simple & safe SQL migration library for go
- Host: GitHub
- URL: https://github.com/cinemast/dbolve
- Owner: cinemast
- License: mit
- Created: 2019-07-11T11:16:08.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-08-18T12:01:57.000Z (5 months ago)
- Last Synced: 2024-08-19T13:11:56.208Z (5 months ago)
- Language: Go
- Size: 26.4 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
[![CircleCI](https://circleci.com/gh/cinemast/dbolve.svg?style=svg)](https://circleci.com/gh/cinemast/dbolve)
[![codecov](https://codecov.io/gh/cinemast/dbolve/branch/master/graph/badge.svg)](https://codecov.io/gh/cinemast/dbolve)
[![GoDoc](https://godoc.org/github.com/cinemast/dbolve/go?status.svg)](https://godoc.org/github.com/cinemast/dbolve)
[![Go Report Card](https://goreportcard.com/badge/github.com/cinemast/dbolve)](https://goreportcard.com/report/github.com/cinemast/dbolve)# dbolve
Very simple code only migration library for go
## Features
- Very simple and readable code (< 200 lines of code)
- Easy to use interface
- Transaction safety for each migration
- Verifies that already applied transactions haven't changed## Usage
```
go get -u github.com/cinemast/dbolve
```### Quickstart
[examples/main.go](examples/main.go)
## Motivation
Heavily inspired by [lopezator/migrator](https://github.com/lopezator/migrator).
I was missing two features:
- Allow to list already applied and pending migrations
- Verification that already applied migrations match the current migration code