https://github.com/ulexxander/go-db-migrations
Simple database migrations available as executable or Go package
https://github.com/ulexxander/go-db-migrations
database migration postgresql
Last synced: 6 months ago
JSON representation
Simple database migrations available as executable or Go package
- Host: GitHub
- URL: https://github.com/ulexxander/go-db-migrations
- Owner: ulexxander
- License: apache-2.0
- Created: 2021-10-25T19:46:43.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-25T19:58:18.000Z (over 4 years ago)
- Last Synced: 2025-08-15T11:41:43.659Z (11 months ago)
- Topics: database, migration, postgresql
- Language: Go
- Homepage:
- Size: 12.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Go DB migrations
Modular migrations system supporting in theory multiple databases and migration sources.
Born on a private project where I decided to replace already existing implementation with more flexible one that was developed in TDD style.
But eventually it seemed to be overkill for that particular project so I moved it here.
Currently it needs to be slightly refactored (because living in previous project had some constraints) and then it will be documented.
For now you can refer to test files.
## Supported databases
- PostreSQL
## Supported migration sources
- SourceDir (read from directory)
- SourceDirect (read from Go slice, used mostly in tests, but can be useful anyway)