class Dummy(AlchemyBase):
__tablename__ = "dummy"
id = Column(Integer, primary_key=True)
f1 = Column(Integer, index=True)

When I create using the above on MySQL, the DDL is:

CREATE TABLE dummy (
id INTEGER NOT NULL AUTO_INCREMENT, 
f1 INTEGER, 
PRIMARY KEY (id)
)

Shouldn't there be an INDEX clause in the DDL to match the "index=True" for 
Column "f1"?  (This is on MySQL 5.5/Debian/SQLA 0.9.4/Python2.7).

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy-alembic" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy-alembic+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to