X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fdakdb%2Fupdate29.py;h=d25c1011a56fbba16449f940f7972798b17f74c2;hb=0156b10c74c121497951899f37401535055e2e14;hp=5df1ad810091f4ef09981101da7094e4e8d46cbb;hpb=9c66ac39be80ceb4fdcc58823852df090c10a029;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;""")