This commit is contained in:
Marek
2026-04-05 15:38:01 +02:00
parent b5659069b1
commit 6e96c5ee99
13 changed files with 174 additions and 65 deletions

View File

@@ -1,6 +1,4 @@
from datetime import datetime
from sqlalchemy import Column, DateTime, Integer, String
from sqlalchemy import Column, Integer, String
from database import Base
@@ -14,4 +12,3 @@ class Video(Base):
thumbnail_url = Column(String, nullable=False)
youtube_url = Column(String, nullable=False)
file_path = Column(String, nullable=True)
created_at = Column(DateTime, default=datetime.utcnow)