critico o favorable
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
from sqlalchemy import Column, Integer, String, Text, DateTime
|
||||
from sqlalchemy import Column, Integer, String, Text, DateTime, Boolean
|
||||
from datetime import datetime
|
||||
from .database import Base
|
||||
|
||||
@ -12,3 +12,5 @@ class NewsItem(Base):
|
||||
fuente = Column(String(255), nullable=True)
|
||||
fecha = Column(DateTime, default=datetime.utcnow)
|
||||
link = Column(String(500), unique=True, nullable=False)
|
||||
critico = Column(Boolean, default=False)
|
||||
favorable = Column(Boolean, default=False)
|
||||
|
Reference in New Issue
Block a user