Comment (by David Sanders):
The simple fix is to add the `supports_comments` condition to
`AlterModelTableComment.database_forwards()` [1]
A better solution may be to use hooks like we've been doing recently so
that the "supports" decision is centralised and won't be inadvertently
left out anywhere.
[1]https://github.com/django/django/blob/main/django/db/migrations/operations/models.py#L581
--
Ticket URL: <https://code.djangoproject.com/ticket/35006#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.