TimeSerie: Adding "type" column back in the timeserie_index table.

Going back to the initial plan but correctly implemented.