I have a table Orders
with the following fields:
Id | SubTotal | Tax | Shipping | DateCreated
The Id
column is set to autoincrement(1,1)
.
This is to be used in an E-commerce storefront. Sometimes a current E-commerce store is migrated to my platform and they already have orders - which could mean that their current Order.Id
is, for example, 9586
.
I want to have the autoincrement
field start from that value.
How can I do this?