Squashed old migrations

Implements https://www.openproject.org/issues/2463