Fixing auto migrations