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

Module update104

source code

Drop created and modified columns from bin_contents and src_contents


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

Copyright: 2014, 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 = ["DROP TRIGGER IF EXISTS modified_bin_contents ON...

Imports: psycopg2, DBUpdateError, Config


Variables Details [hide private]

statements

Value:
["DROP TRIGGER IF EXISTS modified_bin_contents ON bin_contents", "ALTE\
R TABLE bin_contents DROP COLUMN created, DROP COLUMN modified", "DROP\
 TRIGGER IF EXISTS modified_src_contents ON src_contents", "ALTER TABL\
E src_contents DROP COLUMN created, DROP COLUMN modified",]