Fixes #3906 - Fix migration script in order to migration eventlogs from version 1

Fixes #3906 - Fix migration script in order to migration eventlogs from version 1
Ref http://www.rudder-project.org/redmine/issues/3906