Added database migration for contrib.redirects.

refs #22170.