migration: fix generator and add note in README