Fixes #4832: Add migration script to changed id type from integer to
bigint