You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
581 B
Python

from sqlalchemy import Column, Integer, String, Text
from src.database.core import Base
from src.models import DefaultMixin, IdentityMixin
from sqlalchemy import Identity
class UploadedFileData(Base, DefaultMixin, IdentityMixin):
__tablename__ = "lcc_uploaded_file"
filename = Column(String, nullable=False)
file_content = Column(Text, nullable=False)
file_url = Column(String, nullable=False)
file_size = Column(Integer, nullable=False)
file_type = Column(String, nullable=False)
wlc_version = Column(Integer, Identity(always=True), nullable=False)