Fixed #24054 -- Enabled sqlsequencereset for apps with migrations.