cms
cms copied to clipboard
Create a simple script that takes a json with duration of videos and updates the `duration` parameter in the DB
In the VideoMetadata
table, we have a duration field that isnt yet populated
Given a json that looks like this
[{
id: 3,
duration: 905
}, {
id: 4,
duration: “”
}]
Where id is the contentId
field in the VideoMetadata
table
Needed after https://github.com/code100x/cms/pull/331
can I work on this @hkirat?