I'm not sure but it looks like you generated some migrations and then changed the code and the generated this one. You should delete them and regenerate them again to have a consistent one.