[dak/master] Convert dbconn.py to db upgrade #41.
The change is needed for sqlalchemy 0.5.
Signed-off-by: Torsten Werner <twerner@debian.org>
---
daklib/dbconn.py | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/daklib/dbconn.py b/daklib/dbconn.py
index 2237099..f0049a1 100755
--- a/daklib/dbconn.py
+++ b/daklib/dbconn.py
@@ -2904,8 +2904,8 @@ class DBConn(object):
# The following tables have primary keys but sqlalchemy
# version 0.5 fails to reflect them correctly with database
# versions before upgrade #41.
- #'changes',
- #'build_queue_files',
+ 'changes',
+ 'build_queue_files',
)
tables_no_primary = (
@@ -2920,8 +2920,8 @@ class DBConn(object):
'suite_build_queue_copy',
'udeb_contents',
# see the comment above
- 'changes',
- 'build_queue_files',
+ #'changes',
+ #'build_queue_files',
)
views = (
--
1.5.6.5
Reply to: