FIX: permalinks table: increase limit of url column, make url index unique