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

Module update95

source code

Require SHA-1 and SHA-256 checksums in "files" table.


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

Copyright: 2013, 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 files
  ALTER COLUMN sha1sum SET NOT NULL,
  ALTER COLUMN sha256sum SET NOT NULL
""",]