[WIP] migrations for elasticsearch