From: ivan Date: Sun, 22 Jun 2003 09:11:13 +0000 (+0000) Subject: skip pg_ tables also (ewww, showing up in reverse-engineered schema) X-Git-Tag: freeside_1_4_1rc4~14 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=c931f17b20f0b47c2901ba7d2ec1715ad5aac784;p=freeside.git skip pg_ tables also (ewww, showing up in reverse-engineered schema) --- diff --git a/bin/create-history-tables b/bin/create-history-tables index 47d9d6a33..c610e70cf 100755 --- a/bin/create-history-tables +++ b/bin/create-history-tables @@ -18,7 +18,7 @@ my $schema = dbdef(); #false laziness w/fs-setup my @tables = scalar(@ARGV) ? @ARGV - : grep { ! /^h_/ } $schema->tables; + : grep { ! /^(h|pg)_/ } $schema->tables; foreach my $table ( @tables ) { next if grep { /^h_$table/ } $schema->tables; warn "creating history table for $table\n";