Postgres Migrator Issues from 4.6.2 -> 5.0.1 #11204

Is anyone else having trouble when upgrading to 5.0.1 with a postgres backend?

Total dashboards 1271
Total users 2
Active users (seen last 14 days) 2
Total organizations 1
Total datasources 22|
Total playlists 4
Total snapshots 47
Total dashboard tags 62
Total starred dashboards 219
Total alerts 1

If I am an exception, does anyone know if there is another way to migrate all my dashboards to the 5.0.1 format?

Fix works:

alter sequence migration_log_id_seq restart with 174;