Changed sqlalchemy type Binary to LargeBinary to avoid a deprecation warning.
authorphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Thu, 2 Nov 2017 21:08:51 +0000 (21:08 +0000)
committerphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Thu, 2 Nov 2017 21:08:51 +0000 (21:08 +0000)
git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2735 7aebc617-e5e2-0310-91dc-80fb5f6d2477

wrpylib/wrmwdb.py

index fea11fa4e99aa3373ebef205b1fb191ccce173bd..b88e492dae04ef05d61f7d65118d0dd7f26f6cc8 100644 (file)
@@ -144,7 +144,7 @@ def wrregion_table(metadata):
     Column("id", types.Integer, primary_key=True),
     Column("name", types.Unicode(50)),
     Column("page_id", types.Integer),
-    Column("border", types.Binary) # MultiPolygon(2, 4326)
+    Column("border", types.LargeBinary) # MultiPolygon(2, 4326)
     )