See https://github.com/nextras/migrations/commit/20b522d39282f5cd0a239c3cadbba4cb0ec327d3 for reference