I am trying to declare a table using SQLAlchemy. I would like to include in the table BIGINT auto incrementing primary key. This does not seem to work with sqlite as a database database. On the other hand, having INTEGER primary key auto-increment works fine.
I read that sqlite has a ROWID, which is a signed bigint. But is there a way to get the BIGINT auto-zoom field? This way, I can swap places without worrying about specific problems with db (assuming MySQL and Postgres support bigint automatically incrementing fields).
Thanks.
sqlite sqlalchemy
Overclocked
source share