Multiple providers for video #19
Labels
backend
Everything for https://github.com/CaptainFact/captain-fact-api
complexity > simple
Simple tasks (usually a few hours)
refactor
This is a refactoring task
Description
A lot of publishers post their videos on both Facebook and Youtube. We should be able to have multiple URLs for videos.
This could be done by changing
videos
table to work like that:When returning from the API,
url
field should contain a default URL (either youtube or facebook) but also the different provider's ids.We should also add a
{provider}_offset
column for each provider that will allow to set different offsets for each provider.We will keep the legacy
provider
andprovider_id
columns until all the projects are migrated.Progress
The text was updated successfully, but these errors were encountered: