From: ivan Date: Sun, 22 Jun 2003 09:11:11 +0000 (+0000) Subject: skip pg_ tables also (ewww, showing up in reverse-engineered schema) X-Git-Tag: freeside_1_5_0pre3~39 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=8f4fddbaa123a4baee6fb1df4d2abf857f22a04c skip pg_ tables also (ewww, showing up in reverse-engineered schema) --- diff --git a/bin/create-history-tables b/bin/create-history-tables index 8d419d287..39248bf3f 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";