summaryrefslogtreecommitdiff
path: root/scripts/prefix.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/prefix.sh')
-rw-r--r--scripts/prefix.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/prefix.sh b/scripts/prefix.sh
index 8c7f93655..c7e646ed9 100644
--- a/scripts/prefix.sh
+++ b/scripts/prefix.sh
@@ -17,5 +17,9 @@ PRFX=$1;
sed "s/^CREATE TABLE /CREATE TABLE $PRFX/;
s/^INSERT INTO /INSERT INTO $PRFX/;
s/^REPLACE /REPLACE $PRFX/;
- s/^ALTER TABLE /ALTER TABLE $PRFX/" $2
+ s/^ALTER TABLE /ALTER TABLE $PRFX/;
+ s/^CREATE SEQUENCE /CREATE SEQUENCE $PRFX/;
+ s/^ALTER SEQUENCE /ALTER SEQUENCE $PRFX/;
+ s/^CREATE INDEX \(.*\) ON /CREATE INDEX \\1 ON $PRFX/;
+ " $2