Fixed bug: Foreign key to old table name.
authorphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Fri, 1 Apr 2011 17:27:10 +0000 (17:27 +0000)
committerphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Fri, 1 Apr 2011 17:27:10 +0000 (17:27 +0000)
git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/trunk/wrpylib@787 7aebc617-e5e2-0310-91dc-80fb5f6d2477

setup.py
wrpylib/wrmwdb.py

index e78942b7648291e105b41b3fc7c488c0af774fb3..0d3b52d71800a84e406763a229c48f05cc7bb30f 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@
 from setuptools import setup
 
 setup(name='wrpylib',
-    version='0.0.10',
+    version='0.0.11',
     description='Winterrodeln Python Library',
     author='Philipp Spitzer',
     author_email='philipp.spitzer@winterrodeln.org',
index 5a0879b3cdab9f9c6dc946751c85ba36475a9d36..c977f14e71bce066b545ad6ae265afdc669b0c4b 100644 (file)
@@ -18,7 +18,7 @@ def wrreport_table(metadata):
     """
     return Table("wrreport", metadata,
     Column("id", types.Integer, primary_key=True),
-    Column("page_id", types.Integer, schema.ForeignKey('wrsleddingcache.page_id')),
+    Column("page_id", types.Integer, schema.ForeignKey('wrsledruncache.page_id')),
     Column("page_title", types.Unicode(255), nullable=False),
     Column("date_report", types.Date),
     Column("date_entry", types.DateTime, nullable=False),