I use sqlalchemy 1.4 and alembic for migrations.
Previously, my column type looked like this:
has_bubble_in_countries = sa.Column((ARRAY(sa.Enum(Country))), nullable=False, default=[])
Which was not allowing me to add or remove any elements from this array.
Then, I made it immutable by changing it like this:
has_bubble_in_countries = sa.Column(MutableList.as_mutable(ARRAY(sa.Enum(Country))), nullable=False, default=[])
Does this change require a migration? If so, what is the alembic's property in order to detect this type of change?
My first thought was that this is not an altering of the type so I considered that migration is not needed.