Change the data type and constraints of the primary key of table program_favorites

Issue: GCP-9655

Reviewer: Glenn