浏览代码

remove alter table

ming 3 年之前
父节点
当前提交
3403138eeb
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      api/main.py

+ 1 - 2
api/main.py

@@ -420,8 +420,7 @@ def gen_video_queue(name_hash,name,text_content, image_urls,avatar,multiLang,use
     for iurl in image_urls:
         img_urls_seperate_by_dot += iurl+","
     img_urls_seperate_by_dot = img_urls_seperate_by_dot[:-1]
-    state = 'ALTER TABLE `AI_anchor`.`video_queue` ADD COLUMN `mulitLang` INT(11) NULL COMMENT '' AFTER `timestamp`;'
-    db.query(state)
+    
     db['video_queue'].insert({'name_hash':name_hash,'name':name,'text_content':txt_content_seperate_by_dot,'image_urls':img_urls_seperate_by_dot,'avatar':avatar,'timestamp':time_stamp})
     while True: