migration for https://github.com/bipio-server/bipio/pull/14