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

Module update127

source code

add `authorized_by_fingerprint`


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

Copyright: 2025 Ansgar <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


Variables Details [hide private]

statements

Value:
["""
    ALTER TABLE binaries
    ADD COLUMN authorized_by_fingerprint_id INTEGER
        REFERENCES fingerprint(id)
    """, """
    COMMENT ON COLUMN binaries.authorized_by_fingerprint_id
        IS 'fingerprint of signature used to authorized the upload'
    """, """
...