X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=bin%2Fcreate-history-tables;h=39248bf3f28e87eb62eb8d77ae61d5cd77f3d012;hp=8d419d2877b0aef1c08d60dd18c1554d271df73b;hb=470c3559d5077d2db4779610bbd798d58eaec27f;hpb=eef1e8261ea49fe7c531598cbfca064ad3447a5e 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";