projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eef1e82
)
skip pg_ tables also (ewww, showing up in reverse-engineered schema)
author
ivan
<ivan>
Sun, 22 Jun 2003 09:11:11 +0000
(09:11 +0000)
committer
ivan
<ivan>
Sun, 22 Jun 2003 09:11:11 +0000
(09:11 +0000)
bin/create-history-tables
patch
|
blob
|
history
diff --git
a/bin/create-history-tables
b/bin/create-history-tables
index
8d419d2
..
39248bf
100755
(executable)
--- 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";