Generate empty migration file
ez sfrun kaliop:migration:generate AppBundle
Generate ContentType migration file from existing content type
ez sfrun kaliop:migration:generate -- --type=content_type --match-type=identifier --match-value=ride --lang=eng-GB AppBundle
Generate Content migration file from existing content type
ez sfrun kaliop:migration:generate -- --type=content --match-type=content_type --match-value=ride --lang=eng-GB AppBundle
Show migration status
ez sfrun kaliop:migration:status
Run all migrations
ez sfrun bin/console kaliop:migration:migrate
Run specific migration
ez sfrun bin/console kaliop:migration:migrate -- --path=src/AppBundle/MigrationVersions/<migration filename>
Remove a migration
ez sfrun kaliop:migration:migration <migration file name> --delete
Content can be matched on this supported conditions:
and, or, not, content_id, location_id, content_remote_id, location_remote_id, attribute, contenttype_id, contentty pe_identifier, group, creation_date, modification_date, object_state, owner, parent_location_id, parent_location_r emote_id, section, subtree, visibility,
content_type , content_type_id, content_type_identifier, relates_to, relate d_from
ContentType can be matched on this supported conditions: all
, and
, or
, not
, contenttype_id
, contenttype_identifier
, id
, identifier
Role can be matched on this supported conditions: all
, and
, or
,
not
, role_id
, role_identifier
, id
, identifier
Update roles: ➜ ez sfrun kaliop:migration:generate -- --type=rolde --match-type=identifier --match-value=Anonymous AppBundle --mode=update