comparison Mapping.py @ 29:74481aa49974

add a read flag for feed entries so they can be marked read
author Dirk Olmes <dirk@xanthippe.ping.de>
date Thu, 29 Apr 2010 16:48:16 +0200
parents 215c34f61e95
children ee1432a91141
comparison
equal deleted inserted replaced
28:72dfae865899 29:74481aa49974
21 ) 21 )
22 22
23 feedEntryTable = Table("feed_entry", metadata, 23 feedEntryTable = Table("feed_entry", metadata,
24 Column("pk", Integer, primary_key=True), 24 Column("pk", Integer, primary_key=True),
25 Column("create_timestamp", DateTime, nullable=False), 25 Column("create_timestamp", DateTime, nullable=False),
26 Column("read", Integer, nullable=False),
26 27
27 Column("id", String(255), nullable=False), 28 Column("id", String(255), nullable=False),
28 Column("link", String(255), nullable=False), 29 Column("link", String(255), nullable=False),
29 Column("title", String, nullable=False), 30 Column("title", String, nullable=False),
30 Column("summary", String, nullable=False), 31 Column("summary", String, nullable=False),