Explicitly use uid as the primary key