def get_migrations(self, exclude=None):
raise NotImplementedError()<EOL>
Return a sorted list of all migrations. In a common case a migration will be a filename,
        without a leading directory part.

        :param exclude: a list or set of migrations to exclude from the result