Added database migration for contrib.sites.

refs #22170.