Release of version 0.1.0.
[philipp/winterrodeln/wrpylib.git] / wrpylib / wrmwdb.py
index 82bad4a4c59175dd42e64baddd56edb51c9b55ae..c930ec1e43655d1140d4c8353a3f99ac2decb7c9 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python2.6
+#!/usr/bin/python2.7
 # -*- coding: iso-8859-15 -*-
 # $Id$
 # $HeadURL$
 # -*- coding: iso-8859-15 -*-
 # $Id$
 # $HeadURL$
@@ -14,6 +14,7 @@ def wrreport_table(metadata):
     * version 1.2
     * version 1.3 (no changes)
     * version 1.4 (no changes)
     * 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,
     :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("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),
     Column("date_entry", types.DateTime, nullable=False),
     Column("date_invalid", types.DateTime),
     Column("condition", types.Integer),
@@ -95,6 +97,7 @@ def wrinncache_table(metadata):
     Column("position_latitude", types.Float),
     Column("position_longitude", types.Float),
     Column("position_elevation", types.Integer),
     Column("position_latitude", types.Float),
     Column("position_longitude", types.Float),
     Column("position_elevation", types.Integer),
+    Column("operator", types.Unicode(255)),
     Column("seats", types.Integer),
     Column("overnight", types.Boolean),
     Column("overnight_comment", types.Unicode(255)),
     Column("seats", types.Integer),
     Column("overnight", types.Boolean),
     Column("overnight_comment", types.Unicode(255)),