I am having problem with a migration removing a unique constraint when 
running a migration with sqlite. The migration works fine with postgres.
For some reason, when doing something like:

engine = create_engine("sqlite:///my.db")

Session = sessionmaker(bind=engine)

s = Session()

metadata = Metadata(s.bind)

t = Table('core__users', metadata, autoload=True, 
autoload_with=metadata.bind)

t.constraints doesn't show any unique constraints, but does show pk 
constraint.

Is this a limitation with sqlite?

Thanks

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


Reply via email to