summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2014-03-21 22:31:26 +0100
committerMichael Tänzer <neo@nhng.de>2014-03-21 22:31:26 +0100
commit53087f6fedc01d51b2285b1b1c73f36700ff4c8e (patch)
tree1287d48a81e1e259abff934328d0fa6c6de0255b /scripts
parentecd7c1033d881d51b54926075cfca3e9cd19a34d (diff)
parenta7d3dfe2d95f045b7f8b9e63d2bf404832a0d121 (diff)
downloadcacert-devel-53087f6fedc01d51b2285b1b1c73f36700ff4c8e.tar.gz
cacert-devel-53087f6fedc01d51b2285b1b1c73f36700ff4c8e.tar.xz
cacert-devel-53087f6fedc01d51b2285b1b1c73f36700ff4c8e.zip
Merge branch 'bug-1172' into testserver-stable
Diffstat (limited to 'scripts')
-rw-r--r--scripts/db_migrations/version5.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/scripts/db_migrations/version5.sh b/scripts/db_migrations/version5.sh
index fa64367..dc5828d 100644
--- a/scripts/db_migrations/version5.sh
+++ b/scripts/db_migrations/version5.sh
@@ -19,10 +19,6 @@
# script to do database migrations
-# This particular version migrates from the preversioned state to version 5
-# If you want to reuse it for further migrations you probably should pay special
-# attention because you have to adjust it a bit
-
set -e # script fails if any command fails
STDIN=0
@@ -53,7 +49,7 @@ SQL
if [ $schema_version != 4 ]; then
cat >&$STDERR <<- ERROR
Error: database schema is not in the right version to do the migration!
- Expected version: 4 (i.e. the version before there was versioning)
+ Expected version: 4
ERROR
exit 2
fi