On Sep 30, 11:18 am, Sean Davis <[EMAIL PROTECTED]> wrote:
> I am mirroring a database from mysql to postgresql. Mysql allows
> indexes to have the same names as columns. I would like to find all
> the indexes and rename them systematically to avoid these name
> collisions. How can I get the list of indexes and then modify the
> names before creating the second schema in postgres from the metadata?
Got it. Loop over the tables and the indexes are in table.indexes.
Sean
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---