Mercurial > hg > Feedworm
comparison Mapping.py @ 76:f909550683b0
some links/ids can be very long. give the link/id column more space
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Wed, 11 Aug 2010 03:59:33 +0200 |
parents | 525a52169f60 |
children | d292ab61ed6f |
comparison
equal
deleted
inserted
replaced
75:a8a4cf131a02 | 76:f909550683b0 |
---|---|
44 feedEntryTable = Table("feed_entry", metadata, | 44 feedEntryTable = Table("feed_entry", metadata, |
45 Column("pk", Integer, primary_key=True), | 45 Column("pk", Integer, primary_key=True), |
46 Column("create_timestamp", DateTime, nullable=False), | 46 Column("create_timestamp", DateTime, nullable=False), |
47 Column("read", Integer, nullable=False), | 47 Column("read", Integer, nullable=False), |
48 | 48 |
49 Column("id", String(255), nullable=False), | 49 Column("id", String(512), nullable=False), |
50 Column("link", String(255), nullable=False), | 50 Column("link", String(512), nullable=False), |
51 Column("title", Text, nullable=False), | 51 Column("title", Text, nullable=False), |
52 Column("summary", Text, nullable=False), | 52 Column("summary", Text, nullable=False), |
53 Column("updated", DateTime), | 53 Column("updated", DateTime), |
54 Column("feed_id", Integer, ForeignKey("feed.pk")) | 54 Column("feed_id", Integer, ForeignKey("feed.pk")) |
55 ) | 55 ) |