fix migrations for switch to OneToOneField