r8411@llin: dpavlin | 2005-10-10 14:06:48 +0200
authordpavlin <dpavlin@8392b6e1-25fa-0310-8288-cc32f8e212ea>
Mon, 10 Oct 2005 12:07:12 +0000 (12:07 +0000)
committerdpavlin <dpavlin@8392b6e1-25fa-0310-8288-cc32f8e212ea>
Mon, 10 Oct 2005 12:07:12 +0000 (12:07 +0000)
 create sequences

git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@153 8392b6e1-25fa-0310-8288-cc32f8e212ea

bin/BackupPC_updatedb

index f3b3b3b..8336cc0 100755 (executable)
@@ -357,7 +357,7 @@ if ($opt{c}) {
                );
        });
 
-       print "creating indexes:";
+       print "creating indexes: ";
 
        foreach my $index (qw(
                hosts:name
@@ -375,6 +375,14 @@ if ($opt{c}) {
        )) {
                do_index($index);
        }
+
+       print " creating sequence: ";
+       foreach my $seq (qw/dvd_nr/) {
+               print "$seq ";
+               $dbh->do( qq{ CREATE SEQUENCE $seq } );
+       }
+
+
        print "...\n";
 
        $dbh->commit;