The change of the wrreportcache table caused necessary changes in this module.
[philipp/winterrodeln/wrpylib.git] / wrpylib / wrmwdb.py
index 761a8db3c500ea76f08c2ccd42278a672818ccd8..82bad4a4c59175dd42e64baddd56edb51c9b55ae 100644 (file)
@@ -122,12 +122,11 @@ def wrreportcache_table(metadata):
     Column("page_id", types.Integer, primary_key=True),
     Column("page_title", types.Unicode(255), nullable=False),
     Column("report_id", types.Integer),
-    Column("report_date_report", types.Date),
-    Column("report_condition", types.Integer),
-    Column("report_description", types.Unicode),
-    Column("report_author_name", types.Unicode(30)),
-    Column("report_author_username", types.Unicode(30)),
-    Column("reports_xml", types.Unicode),
+    Column("date_report", types.Date),
+    Column("condition", types.Integer),
+    Column("description", types.Unicode),
+    Column("author_name", types.Unicode(30)),
+    Column("author_username", types.Unicode(30))
     )