Fixes #4871: create sql script for migration from int to bigint for the ...

...reports tables