Fixes #1204: the length of primary key for migration table is too long.