[dak/master] for some reason psql likes ; more than :
Signed-off-by: Joerg Jaspert <joerg@debian.org>
---
dak/dakdb/update42.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dak/dakdb/update42.py b/dak/dakdb/update42.py
index 8e8f7c5..48bc9d6 100755
--- a/dak/dakdb/update42.py
+++ b/dak/dakdb/update42.py
@@ -39,7 +39,7 @@ def do_update(self):
c = self.db.cursor()
c.execute("ALTER TABLE suite ADD COLUMN butautomaticupgrades BOOLEAN NOT NULL DEFAULT FALSE;")
- c.execute("ALTER TABLE suite ADD CONSTRAINT bau_needs_na_set CHECK (not butautomaticupgrades or notautomatic):")
+ c.execute("ALTER TABLE suite ADD CONSTRAINT bau_needs_na_set CHECK (not butautomaticupgrades or notautomatic);")
c.execute("UPDATE config SET value = '42' WHERE name = 'db_revision'")
self.db.commit()
--
1.5.6.5
Reply to: