I have the same problem
Factorio version 0.16.51
save was made with electric trains 0.16.8
currently electric trains 0.16.9
Error while applying migration: Electric Train: ElectricTrain_0.16.8.lua
ElectricTrain/migrations/ElectricTrain_0.16.8.lua:2: attempt to index field 'electric-railway' (a nil value)