https://github.com/0plus1/patchr
MySQL version control
https://github.com/0plus1/patchr
database database-changes mysql
Last synced: 9 months ago
JSON representation
MySQL version control
- Host: GitHub
- URL: https://github.com/0plus1/patchr
- Owner: 0plus1
- License: mit
- Created: 2017-03-15T01:20:35.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-22T06:55:53.000Z (almost 9 years ago)
- Last Synced: 2025-02-02T11:29:22.519Z (about 1 year ago)
- Topics: database, database-changes, mysql
- Language: PHP
- Size: 20.5 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# Patchr - MySQL version control
Patchr allows you to version control your database changes, allowing teams to easily share and review database changes.
Database version control is a very important process of modern web development, providing an accurate history of schema and data changes.
Most modern frameworks offers database agnostic version control under the term *"migrations"*.
Patchr uses a different approach, allowing you to commit **raw** SQL, more compatible with legacy system and easier to understand by new devs coming onboard.
Patchr is developed with deployment in mind, exposing a comprehensive command line API and it is currently used in some large scale corporate applications.
## Documentation
[Patchr on Gitbook](https://0plus1.gitbooks.io/patchr/)
## Tests
```./vendor/bin/phpunit```
System wide installs of phpunit might not work due to potentially different versions, please rely on above command.
## Frameworks
Patchr is framework agnostic, it can easily be added to any existing framework/project. These are the official wrappers for commonly used frameworks:
* Laravel ([0plus1/patchr-laravel](https://github.com/0plus1/patchr-laravel))
## Roadmap
* Decouple Model class from Mysqli to create adapters for other RDBMS
* Expand unit tests coverage