Compare commits

..

No commits in common. "4dda85d8a3e191bd8ad641f5a99b9c58963e894c" and "4d87ae1b905330fa440927613956789b39f01342" have entirely different histories.

1 changed files with 2 additions and 2 deletions

View File

@ -11,9 +11,9 @@ from pilgrim.database import Base
class Entry(Base):
__tablename__ = "entries"
id = Column(Integer, primary_key=True)
title = Column(String,nullable=False)
title = Column(String)
text = Column(String)
date = Column(DateTime,nullable=False)
date = Column(DateTime)
photos = relationship(
"Photo",
secondary=photo_entry_association,