Changed primary key to sequence.