If you don't want to set this manually then write a script to get the maximum value in the column, once you've migrated the data, and update the table definition to set the column to AUTOINCREMENT with the appropriate start value