Add a serial key and use it as the primary key

Closes #3561285

Merge request reports

Loading