mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
Add column to video update
This commit is contained in:
parent
93082c0a45
commit
1568a35cfb
1 changed files with 1 additions and 1 deletions
|
@ -495,7 +495,7 @@ def get_video(id, db, proxies = {} of String => Array({ip: String, port: Int32})
|
|||
|
||||
db.exec("UPDATE videos SET (info,updated,title,views,likes,dislikes,wilson_score,\
|
||||
published,description,language,author,ucid,allowed_regions,is_family_friendly,\
|
||||
genre,genre_url,license)\
|
||||
genre,genre_url,license,sub_count_text)\
|
||||
= (#{args}) WHERE id = $1", video_array)
|
||||
rescue ex
|
||||
db.exec("DELETE FROM videos * WHERE id = $1", id)
|
||||
|
|
Loading…
Reference in a new issue