On Wed, Mar 4, 2020, at 10:27 AM, David Siller wrote:
> Hello Mike,
>
> and thank you very much for the solution. It is working flawlessly for
> ordering the columns.
>
> For others finding this thread: Mike created an entry in the Alembic cookbook
>
An addition: It keeps the correct name if the UniqueConstraint involves
multiple columns. The duplication only happens if the constraint checks the
uniqueness on a single column.
Also the CreateTableOp does not seem to duplicate the UniqueConstraints, so
it must happen later on.
Best regards
Hello Mike,
and thank you very much for the solution. It is working flawlessly for
ordering the columns.
For others finding this thread: Mike created an entry in the Alembic
cookbook