X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fdakdb%2Fupdate29.py;h=d25c1011a56fbba16449f940f7972798b17f74c2;hb=9306146331b42eb2c2a9500ee759f0373a4c2d02;hp=5df1ad810091f4ef09981101da7094e4e8d46cbb;hpb=48a09717fc5fbf01c58b7e0379648e6b666c861a;p=dak.git diff --git a/dak/dakdb/update29.py b/dak/dakdb/update29.py index 5df1ad81..d25c1011 100644 --- a/dak/dakdb/update29.py +++ b/dak/dakdb/update29.py @@ -38,12 +38,7 @@ def do_update(self): try: c = self.db.cursor() - c.execute("""DROP AGGREGATE comma_separated_list( BASETYPE = text, - SFUNC = comma_concat, - STYPE = text, - INITCOND = '' -);""" ) - c.execute("""DROP FUNCTION comma_concat(text, text);""" ); + c.execute("""DROP FUNCTION comma_concat(text, text) CASCADE;""" ); c.execute("""DROP TABLE pending_content_associations;""") c.execute("""DROP TABLE content_associations;""") c.execute("""DROP TABLE content_file_names;""")