Introduce the PaperIndex table to simulate autoinc id