bkc wrote:
> Column("tracking_number", String(32), nullable=False, index=True,
> unique=True)
I may be wrong, but if you have "unique=True", you might not need
"index=True" as unique columns are indexed anyway.
So the following might be enough:
Column("tracking_number", String(32), nullable=False, unique=True)
May anyone correct me if I'm wrong.
Regards,
--
Alexandre CONRAD
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---