Add polymorphic Favorite model and associated necessary changes in models and migrations.