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

Module update99

source code

Add component ordering


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

Copyright: 2012 Varnish Software AS

Author: Tollef Fog Heen <tfheen@varnish-software.com>

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 component
ADD COLUMN ordering INTEGER UNIQUE
""", """
CREATE SEQUENCE component_ordering_seq
INCREMENT BY 10
START WITH 100
OWNED BY component.ordering
...