Refactor #1533

Re-Use Previous ID Values In Data Migration Script

Added by Pavan Rikhi 25 days ago. Updated 25 days ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:Pavan Rikhi% Done:

0%

Category:ScriptsSpent time:-
Target version:v1.0.0 - Deployment
Easy Pickings:

Description

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.

History

#1 Updated by Pavan Rikhi 25 days ago

  • Subject changed from Re-Use Existing ID Values In Data Migration Script to Re-Use Previous ID Values In Data Migration Script

Also available in: Atom PDF