Use auto-increment as primary key

See WoltLab/WCF#1551