The lon and lat center values of <wrmap> are now produced with 6 digits after the...
[philipp/winterrodeln/wrpylib.git] / wrpylib / wrmwdb.py
index 517567b078db024b4fb9467c52a12c092a44cc07..8d5bae50a6f968e90ba2ec37f5f83c6e269e5f25 100644 (file)
@@ -37,6 +37,7 @@ def wrreport_table(metadata):
     Column("delete_person_userid", types.Integer),
     Column("delete_person_username", types.Unicode(30)),
     Column("delete_reason_public", types.Unicode),
+    Column("delete_invisible", types.Boolean),
     )
 
 
@@ -124,7 +125,7 @@ def wrreportcache_table(metadata):
     return Table("wrreportcache", metadata,
     Column("page_id", types.Integer, primary_key=True),
     Column("page_title", types.Unicode(255), nullable=False),
-    Column("report_id", types.Integer),
+    Column("report_id", types.Integer, schema.ForeignKey('wrreport.id')),
     Column("date_report", types.Date),
     Column("condition", types.Integer),
     Column("description", types.Unicode),