Hey guys.

I have this table:

tournamentParticipantTable

id INTEGER PRIMARY KEY
user INTEGER
tournamentId INTEGER

I'm obviously going to put an index on both user, tournamentId and 
tournamentId, user - but as the relation is unique, I was wondering if I 
could in some way let SQLite know that?

Also... it does seem weird that id is the primary key when I'll never 
actually use it.

Thanks,
Ian
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to