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

Module update105

source code

Add a new release_suite name which we use in generate_releases


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

Copyright: 2014, Mark Hymers <mhy@debian.org>

License: GNU General Public License version 2 or later

Functions [hide private]
 
do_update(self) source code
Variables [hide private]
  statements = ["ALTER TABLE suite ADD COLUMN release_suite TEXT...

Imports: psycopg2, DBUpdateError, Config


Variables Details [hide private]

statements

Value:
["ALTER TABLE suite ADD COLUMN release_suite TEXT DEFAULT NULL", "UPDA\
TE suite SET release_suite = 'oldstable-updates' WHERE suite_name = 's\
queeze-updates'", "UPDATE suite SET release_suite = 'stable-updates' W\
HERE suite_name = 'wheezy-updates'", "UPDATE suite SET release_suite =\
 'testing-updates' WHERE suite_name = 'jessie-updates'",]