phpmig
phpmig copied to clipboard
Simple migrations system for php
It's time to drop support for older versions. If you need an older PHP version you should use an older version of the package. I've added support for Symfony 6.x
The constructor's signature is final public function __construct() I would like to make a base class for my migrations that extends Phpmig\Migration\Migration and does some custom configuration/initilization tasks. The logical...
adapter for doctrine dbal version 3.0 and above. this adapter is copy of Phpmig\Adapter\Doctrine\DBAL with fixed Connection methods calls. more info about changes in version 3 here: https://www.doctrine-project.org/2020/11/17/dbal-3.0.0.html
Why not separating adapter as sub-package of *phpmig/phpmig* For example, for codeigniter user, their not need Zend, Illuminate, Doctrine adapter, their can install specific adapter for codeigniter(only) like *phpmig/phpmig-adapter-codeigniter*, and...
I'm looking to a way to handle database rollback on capistrano rollback. One off the solution that I'm seeing is to dump migrations done in a file after each deploy....
By default, the migration file basename is: ```php $basename = date('YmdHis') . '_' . $migrationName . '.php'; ``` Could it be possible to allow to change this by providing a...
The method of working out which migrations to run, going off the highest timestamp in the database is too basic for real development scenarios. Typically you will have different developers...
We have one engine and lots of bases, one base - one site. Is it possible to pass the parameter to phpmig bootstrap file?
At the moment if some migrations are not installed, application can miss them if they have an older timestamp than the last installed migration. This can easily happen when a...