]> err.no Git - dak/commitdiff
forgot to save update29
authorMike O'Connor <stew@vireo.org>
Sat, 9 Jan 2010 19:30:47 +0000 (14:30 -0500)
committerMike O'Connor <stew@vireo.org>
Sat, 9 Jan 2010 19:30:47 +0000 (14:30 -0500)
Signed-off-by: Mike O'Connor <stew@vireo.org>
dak/dakdb/update29.py

index 5df1ad810091f4ef09981101da7094e4e8d46cbb..891fcf2feae141efd2315c6b5828b156009383b3 100644 (file)
@@ -38,15 +38,10 @@ 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;""")
+        c.execute("""DROP TABLE content_filecd ._names;""")
         c.execute("""DROP TABLE content_file_paths;""")
 
         c.execute("UPDATE config SET value = '29' WHERE name = 'db_revision'")