Added column time_report to table wrreport.
authorphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Sat, 20 Apr 2013 20:57:56 +0000 (20:57 +0000)
committerphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Sat, 20 Apr 2013 20:57:56 +0000 (20:57 +0000)
git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@1370 7aebc617-e5e2-0310-91dc-80fb5f6d2477

wrpylib/wrmwdb.py

index 026868711a9d900d833012e1208dfa4112508fe1..198c3901c3e62a37e1c3e0baaed0c5bf5f752148 100644 (file)
@@ -14,6 +14,7 @@ def wrreport_table(metadata):
     * version 1.2
     * version 1.3 (no changes)
     * version 1.4 (no changes)
+    * version 1.5 added time_report
     :param metadata: metadata = sqlalchemy.MetaData()
     """
     return Table("wrreport", metadata,
@@ -21,6 +22,7 @@ def wrreport_table(metadata):
     Column("page_id", types.Integer, schema.ForeignKey('wrsledruncache.page_id')),
     Column("page_title", types.Unicode(255), nullable=False),
     Column("date_report", types.Date),
+    Column("time_report", types.Time),
     Column("date_entry", types.DateTime, nullable=False),
     Column("date_invalid", types.DateTime),
     Column("condition", types.Integer),