Re-Use Previous ID Values In Data Migration Script
|Assignee:||Pavan Rikhi||% Done:|
|Target version:||v1.0.0 - Deployment|
The database migration script should insert rows by specifying their ID instead of relying on the autoincrementing counter.
This will keep Order numbers in line with the old website, and make redirecting old links easier. E.g., we can regex the ezpage URLs(which have their ID in the URI) and redirect them to something like
/api/pages/<id>/ which will then pull the slug and then redirect to the new URL.