summaryrefslogtreecommitdiff
path: root/scripts/db_migrations/version4.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/db_migrations/version4.sh')
-rw-r--r--scripts/db_migrations/version4.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/db_migrations/version4.sh b/scripts/db_migrations/version4.sh
index f59816d..9a8aded 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
@@ -62,22 +62,22 @@ mysql $mysql_opt <<- 'SQL'
-- dump table AdminLog
SELECT *
- INTO OUTFILE "???"
+ INTO OUTFILE "adminlog_table_backup_1135"
FIELDS TERMINATED BY ','
OPTIONALLY ENCLOSED BY '"'
LINES TERMINATED BY "\n"
- FROM `adminlog`
+ FROM `adminlog`;
SQL
-echo "Dump table create in ???"
+echo "Dump table create in adminlog_table_backup_1135"
mysql $mysql_opt <<- 'SQL'
-- update table admin log
UPDATE `adminlog` SET `type` = 'old name or dob change',
-`information` = 'see dump ???'
+`information` = 'see adminlog_table_backup_1135';
-- alter table admin log