563 358 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
use strict;
use libdb;

sub DoUpdate($$$)
{
    my ($dbhandle, $dbname, $version) = @_;

    if (!DBSlotExists("apt_profiles", "no_image_versions")) {
        DBQueryFatal("alter table apt_profiles " .
		     " add `no_image_versions` tinyint(1) NOT NULL default '0' ".
		     "   after topdog");
    }
    return 0;
}

# Local Variables:
# mode:perl
# End: