Work with later versions of doctirne and migrations