alembic icon indicating copy to clipboard operation
alembic copied to clipboard

implement detection of collation changes on a column

Open jekel opened this issue 3 years ago • 4 comments

I have found the same problem as described in #475 , when you change for example String field with adding collation parameter to it - alembic does not see this change on autogenerate

Versions.

  • OS: MS Windows 10
  • Python: 3.9.10
  • Database: PostgreSQL 12
  • alembic 1.7.7
  • SQLAlchemy 1.4.35

jekel avatar May 26 '22 14:05 jekel

hi -

please reopen #475 with clear reproducing examples. modify my model at https://github.com/sqlalchemy/alembic/issues/475#issuecomment-441887543 to show a model that fails.

zzzeek avatar May 26 '22 15:05 zzzeek

oh we also dont compare "collation" on an existing coulmn at all right now, you will need to add migrations manually. will keep this open as a use case.

zzzeek avatar May 26 '22 15:05 zzzeek