php app/console doctrine:migration:execute YYYYMMDDHHMMSS --down
tambien podemos saber el estado de las migraciones, cual fue la ultima, la previa etc
a través del siguiente comando:
php app/console doctrine:migrations:status
s == Configuration
>> Name: Application Migrations
>> Database Driver: pdo_mysql
>> Database Name: test_56
>> Configuration Source: manually configured
>> Version Table Name: migration_versions
>> Version Column Name: version
>> Migrations Namespace: Application\Migrations
>> Migrations Directory: C:\Users\ibazan\workspace-zennovia-56\test\app/DoctrineMigrations
>> Previous Version: 2017-04-28 15:57:13 (20170428155713)
>> Current Version: 2017-04-28 16:01:26 (20170428160126)
>> Next Version: Already at latest version
>> Latest Version: 2017-04-28 16:01:26 (20170428160126)
>> Executed Migrations: 9
>> Executed Unavailable Migrations: 0
>> Available Migrations: 9
>> New Migrations: 0
No hay comentarios:
Publicar un comentario