From 650634f309b8cd602f4c36ae7f8f4181ea8b7783 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Fri, 13 Mar 2009 22:42:22 +0100 Subject: [PATCH] update7 use correct sql Signed-off-by: Joerg Jaspert --- dak/dakdb/update7.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dak/dakdb/update7.py b/dak/dakdb/update7.py index 96a36146..1c597078 100755 --- a/dak/dakdb/update7.py +++ b/dak/dakdb/update7.py @@ -56,7 +56,7 @@ def do_update(self): c.execute(query, [suite]) - c.execute("ALTER TABLE suite ADD COLUMN announce text DEFAULT NOT NULL 'debian-devel-changes@lists.debian.org';") + c.execute("ALTER TABLE suite ADD COLUMN announce text NOT NULL DEFAULT 'debian-devel-changes@lists.debian.org';") query = "UPDATE suite SET announce = %s WHERE suite_name = %s" #: Update query for suite in Cnf.SubTree("Suite").List(): announce_list = Cnf.Find("Suite::%s::Announce" % (suite)) -- 2.39.5