Add a new column to the order items table in the dashboard to have number

How can I add sequential number in this column.

I added the following code to add the column but I need the number to increase in each row.

Add numbers to the order items table