Added migration to generate permalinks for all objects