Trac & Sqlite PK problem
Posted
by fampinheiro
on Stack Overflow
See other posts from Stack Overflow
or by fampinheiro
Published on 2010-05-14T14:39:50Z
Indexed on
2010/05/14
14:44 UTC
Read the original article
Hit count: 352
I create my trac enviromnets using a sqlite database, it works very well.
Now i want to get some information directly from the database and i'm using C# to do it using System.Data.SQLite. The problem i have is an error in the designer cause the tables don't have primary keys.
After get this error i went and noticed that all tables that have more than one primary key defined in the schema were not 'converted' to sqlite, that information is lost.
I believe the problem is in sqlite_backend.py but python isn't my speciality and i'm in a hurry so if you can guide me to a quick fix. thank you.
© Stack Overflow or respective owner