So… It kinda worked!
Upgrade to 2.5.2 that is. Thanks to @dcc
No DB upgrade required — what I imagined it to be is probably just ecto.migrate
Took me a while though to realize that you can just do VACUUM(FULL); in psql without specifying any tables to optimize the whole DB 😄