Fixed bug in migrations with duplicate column priority.