ticket:6 fix migrations