Files
youtube-dl/model.py

19 lines
412 B
Python

# -*- coding: utf-8 -*-
# @Time : 2023/02/25 7:55 PM
# @Author : yommi
# @Site :
# @File : model
# @Software: PyCharm
# @Path : youtube-dl/model.py
from .setup import *
class ModelYoutubeDlItem(ModelBase):
P = P
__tablename__ = "youtube_dl_item"
__table_args__ = {"mysql_collate": "utf8_general_ci"}
__bind_key__ = P.package_name
id = db.Column(db.Integer, primary_key=True)