NB!: This project is still an early release. Please do not use in production-critical environments. Refer to the LICENSE for more information.
Baleen Migrations is a project that seeks to abstract the domain logic of performing migrations of any kind into a single package. Its simple goal is to excel at one single task: provide an intuitive, well-tested framework to migrate from point A to point B (or vice-versa if going down).
In other words, we take care of WHICH migrations are run and in what ORDER. Everything else is left up to the implementation:
- WHAT is going to be migrated? It could be a database, images, documents, etc.
- HOW its going to be migrated? You can wrap each migration into DB transactions. Or not, its up to you.
- What to do when a migration fails? We'll let you know WHEN it happens, but its up to you to the implementation to decide what to do (e.g. cancel the transaction).
Installation with Composer is simple:
composer require baleen/migrations
For more documentation please refer to the online documentation.
See CONTRIBUTING.md
MIT - for more details please refer to LICENSE at the root directory.
We named the project ("BALEEN") after a family (or "parvorders" to be precise) of whales that are famous for migrating long distances. The humpback whale, for example, travels as far as 16,000 miles (25749.5 km) annually. That's about twice the earth's diameter.