36 487 Bytes
Newer Older
1
2
3
4
5
6
7
#
# APT Changes.
#
use strict;
use GeniDB;

sub DoUpdate($$$)
Leigh B Stoller's avatar
Leigh B Stoller committed
8
{
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
    my ($dbhandle, $dbname, $version) = @_;

    DBSetDefault($dbhandle);

    if (!DBTableExists("geni_slicecerts")) {
	DBQueryFatal("CREATE TABLE `geni_slicecerts` ( ".
		     " `uuid` varchar(40) NOT NULL default '', ".
		     " `cert` text, ".
		     " `privkey` text, ".
		     " INDEX `uuid` (`uuid`)".
		     ") ENGINE=MyISAM DEFAULT CHARSET=latin1");
    }
    return 0;
}
1;

# Local Variables:
# mode:perl
# End: