graviton / mongodb-migrations-bundle
Symfony MongoDBMigrationsBundle
v2.0.2
2024-01-18 07:39 UTC
Requires
- php: >=7.1.0
- doctrine/mongodb-odm-bundle: >=4.0.0
- graviton/mongodb-migrations: ~3
This package is auto-updated.
Last update: 2024-09-18 09:16:33 UTC
README
此包将DoesntMattr MongoDB Migrations 库集成到 Symfony 中,以便您可以安全快速地管理 MongoDB 迁移。
这是一个新的迭代版本,它对 Symfony 的集成是最小的。目前,它不打算对外部使用。
安装
将以下内容添加到您的 composer.json 文件中
{ "require": { "graviton/mongodb-migrations-bundle": "~1.0" } }
运行以下命令来安装库
composer install
确保在 AppKernel.php 中启用此包,如下所示
// app/AppKernel.php public function registerBundles() { $bundles = array( //... new Graviton\MigrationBundle\GravitonMigrationBundle(), ); }