Closed StarNab closed 5 years ago
Hello. I am afraid that at the moment there is no event emitted for migration generation. It is an interesting feature request though :-)
How I achieved custom generation of migrations definitions so far: I created a new Executor class, which subclasses f.e. the Content Executor. I gave it a custom supported-step-type, eg. 'content_export', and reimplemented method generateMigration
. That should be enough to get you going...
Hi @gggeek , yes I thought about that. In my case as I just wanted to customize the remote_id, it felt it was overkill. I might make a pull request later on then :)
Implemented in master
Hi,
Is it possible to extend the migration file process generation ? I'm using "kaliop:migration:generate" and I want to customize the remote_id in the YML file generated. Can this be achieved at the moment ? Is there an event-like solution for that for example ?