diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/fix-sequences | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/fix-sequences b/bin/fix-sequences index d5349ee74..70b6df601 100755 --- a/bin/fix-sequences +++ b/bin/fix-sequences @@ -51,7 +51,7 @@ foreach my $table ( @tables ) { my $sql = "SELECT setval( '$seq', - ( SELECT max($primary_key) FROM $table ) );" ); + ( SELECT max($primary_key) FROM $table ) );"; warn $col->default. " $seq\n$sql\n"; $dbh->do( $sql ) or die $dbh->errstr; |