summaryrefslogtreecommitdiff
path: root/scripts/db_migrations
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2013-11-27 00:10:30 +0100
committerMichael Tänzer <neo@nhng.de>2013-11-27 00:10:30 +0100
commit8a800f629e9d685d7c454d8fb16737f4cb8d9368 (patch)
treee31a4ab2a14cd2cc6c03e96ef9a82b54e63b4936 /scripts/db_migrations
parentb9146efac50f027a1eac5f9a439bd276a6c71f0b (diff)
downloadcacert-devel-8a800f629e9d685d7c454d8fb16737f4cb8d9368.tar.gz
cacert-devel-8a800f629e9d685d7c454d8fb16737f4cb8d9368.tar.xz
cacert-devel-8a800f629e9d685d7c454d8fb16737f4cb8d9368.zip
Bug 1135: 0 is the real version before versioning, the others are just fake
Signed-off-by: Michael Tänzer <neo@nhng.de>
Diffstat (limited to 'scripts/db_migrations')
-rw-r--r--scripts/db_migrations/version3.sh2
-rw-r--r--scripts/db_migrations/version4.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/db_migrations/version3.sh b/scripts/db_migrations/version3.sh
index cbaa9ac..55dfeca 100644
--- a/scripts/db_migrations/version3.sh
+++ b/scripts/db_migrations/version3.sh
@@ -53,7 +53,7 @@ SQL
if [ $schema_version != 2 ]; then
cat >&$STDERR <<- ERROR
Error: database schema is not in the right version to do the migration!
- Expected version: 2 (i.e. the version before there was versioning)
+ Expected version: 2
ERROR
exit 2
fi
diff --git a/scripts/db_migrations/version4.sh b/scripts/db_migrations/version4.sh
index f59816d..155a72e 100644
--- a/scripts/db_migrations/version4.sh
+++ b/scripts/db_migrations/version4.sh
@@ -53,7 +53,7 @@ SQL
if [ $schema_version != 3 ]; then
cat >&$STDERR <<- ERROR
Error: database schema is not in the right version to do the migration!
- Expected version: 3 (i.e. the version before there was versioning)
+ Expected version: 3
ERROR
exit 2
fi