migrations:CakePHP数据库迁移插件

时间:2021-05-08 06:08:33
【文件属性】:
文件名称:migrations:CakePHP数据库迁移插件
文件大小:134KB
文件格式:ZIP
更新时间:2021-05-08 06:08:33
php cakephp database-migrations cakephp-plugin PHP CakePHP的迁移插件 这是CakePHP的数据库迁移系统。 该插件包含一个用于迁移库的CakePHP外壳包装。 该分支与CakePHP 4.x一起使用。 有关详细信息,请参见。 安装 您可以使用将此插件安装到CakePHP应用程序中。 运行以下命令 composer require cakephp/migrations 配置 您可以使用shell命令加载插件: bin/cake plugin load Migrations 或者,您可以在应用程序的src / Application.php文件中手动添加加载语句: public function bootstrap () { parent :: bootstrap (); $ this -> addPlugin ( 'Migrations' ); } 此外,您将需要在config / app.php文件中配
【文件预览】:
migrations-master
----LICENSE.txt(1KB)
----src()
--------ConfigurationTrait.php(9KB)
--------Command()
--------CakeManager.php(12KB)
--------MigrationsDispatcher.php(2KB)
--------Plugin.php(2KB)
--------AbstractMigration.php(1KB)
--------Shell()
--------AbstractSeed.php(4KB)
--------Util()
--------TableFinderTrait.php(6KB)
--------View()
--------Table.php(8KB)
--------Migrations.php(14KB)
--------CakeAdapter.php(3KB)
----Dockerfile(634B)
----psalm.xml(956B)
----docs.Dockerfile(647B)
----README.md(2KB)
----docs()
--------fr()
--------config()
--------en()
--------ja()
--------ru()
--------pt()
----templates()
--------Phinx()
--------bake()
----psalm-baseline.xml(1KB)
----composer.json(2KB)

网友评论