Package dak :: Package dakdb :: Module update91
[hide private]
[frames] | no frames]

Module update91

source code

per-queue NEW comments and permissions


Contact: Debian FTP Master <ftpmaster@debian.org>

Copyright: 2012 Ansgar Burchardt <ansgar@debian.org>

License: GNU General Public License version 2 or later

Functions [hide private]
 
do_update(self) source code
Variables [hide private]
  statements = [...

Imports: psycopg2, DBUpdateError, Config


Variables Details [hide private]

statements

Value:
["""
ALTER TABLE new_comments
ADD COLUMN policy_queue_id INTEGER REFERENCES policy_queue(id)
""", """
UPDATE new_comments
SET policy_queue_id = (SELECT id FROM policy_queue WHERE queue_name = \
'new')
""", """
...