# HG changeset patch # User Dirk Olmes # Date 1272552496 -7200 # Node ID 74481aa49974d5142b4674b89ae5277ca0f241b8 # Parent 72dfae8658995985cc5acf0eb717bec4073b6861 add a read flag for feed entries so they can be marked read diff -r 72dfae865899 -r 74481aa49974 FeedEntry.py --- a/FeedEntry.py Thu Apr 29 07:04:42 2010 +0200 +++ b/FeedEntry.py Thu Apr 29 16:48:16 2010 +0200 @@ -9,6 +9,7 @@ def __init__(self): self.create_timestamp = datetime.now() + self.read = 0 def __repr__(self): return "" % (self.pk, self.title) diff -r 72dfae865899 -r 74481aa49974 Mapping.py --- a/Mapping.py Thu Apr 29 07:04:42 2010 +0200 +++ b/Mapping.py Thu Apr 29 16:48:16 2010 +0200 @@ -23,6 +23,7 @@ feedEntryTable = Table("feed_entry", metadata, Column("pk", Integer, primary_key=True), Column("create_timestamp", DateTime, nullable=False), + Column("read", Integer, nullable=False), Column("id", String(255), nullable=False), Column("link", String(255), nullable=False),