Remove useless primary key from line table