This repository has been archived by the owner on Jun 16, 2023. It is now read-only.
Support regular contentful-migrations migration syntax #31
Labels
enhancement
New feature or request
This tool should be able to run scripts meant to be used directly by Contentful's migration tool, i.e. without
up
anddown
, only exporting a function.It could auto-detect that the migrations file is exporting a single function, and consider that as a
up
, creating a dynamic no-opdown
, and a auto-generateddescription
(based on the file name.As an example, a script like this (from Contentful's migration tool README:
would be behave as if it was something like this:
The text was updated successfully, but these errors were encountered: