From 751290406f5d2cd3ed72a7a8bbd06f78e2ed0555 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Mon, 7 Feb 2011 21:49:48 +0100 Subject: [PATCH] for some reason psql likes ; more than : Signed-off-by: Joerg Jaspert --- dak/dakdb/update42.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dak/dakdb/update42.py b/dak/dakdb/update42.py index 8e8f7c56..48bc9d61 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() -- 2.39.5