]> git.decadent.org.uk Git - dak.git/blobdiff - dak/dakdb/update16.py
now we don't need the dm flag
[dak.git] / dak / dakdb / update16.py
index 36dd964eaaf413e0decd9c982832e5b7527e0267..eca9b48ea03c460def0f192d05ae6d4589b7cef6 100755 (executable)
@@ -133,6 +133,8 @@ def do_update(self):
         c.execute("ALTER TABLE keyrings ADD COLUMN default_binary_reject BOOLEAN NOT NULL DEFAULT TRUE")
         # Set up keyring priorities
         c.execute("ALTER TABLE keyrings ADD COLUMN priority INT4 NOT NULL DEFAULT 100")
+        # And then we don't need the DM stuff any more
+        c.execute("ALTER TABLE keyrings DROP COLUMN debian_maintainer")
 
         # Default ACLs for keyrings
         c.execute("""