MyGit

2.0.4

byjg/php-migration

版本发布时间: 2018-03-20 10:40:28

byjg/php-migration最新发布版本:4.9.1(2024-01-06 04:23:36)

Breaking changes notes

If you are using the API Directly you have to register the database before use:

Before this version:

<?php
$migration = new \ByJG\DbMigration\Migration($uri, __DIR__);
// ... some other things

After 2.0.4:

<?php
$migration = new \ByJG\DbMigration\Migration($uri, __DIR__);
$migration->registerDatabase('mysql', \ByJG\DbMigration\Database\MySqlDatabase::class);
// ... some other things

This change does not affect the command line migration script;

相关地址:原始地址 下载(tar) 下载(zip)

查看:2018-03-20发行的版本