Registry / database / doctrine-migrations

doctrine-migrations

JSON →
library3.9.7phppackagistunverified

Version control for database schemas using Doctrine DBAL, enabling easy deployment of schema changes.

composer require doctrine/migrations
INSTALL
IMPORT
SIG · DOCTRINE-MIGRATION
D
doctrine-migrations
databasephpv3.9.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

DependencyFactory
✓ use Doctrine\Migrations\DependencyFactory;

Run all pending migrations using the migrator.

use Doctrine\Migrations\DependencyFactory; use Doctrine\Migrations\Configuration\Configuration; $config = new Configuration(); $dependencyFactory = DependencyFactory::fromEntityManager($config, $entityManager); $dependencyFactory->getMigrator()->migrate();
Debug
Known issues
gotchaMigrations are irreversible by default; always test before applying to production.
fix
Use the 'migrations:status' command to review pending changes before executing.
affects: >=3.0.0
Upgrade
Version history
3.9.7latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
Resources
doctrine-migrations — pip install doctrine-migrations · libregistry