Update documentation/10-migrations.markdown

Added closeCursor() call to free db resources