In my Django project, I have many migrations directory, I want to add to my .gitignore file:
Because they are under each app directory, I do not want to add every one.

How can I add all the migrations directories in it?
Now in it only like this:
.idea/