From f3c2d3ca090ad5bb17151fcecd7a2e889713e122 Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Thu, 4 Jun 2015 14:02:50 -0400 Subject: [PATCH] Slightly improvement to the text displayed to users --- Scripts/sql-update-2.2.17_to_2.3.0-mysql.sh | 1 + Scripts/sql-update-2.2.17_to_2.3.0.sh | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Scripts/sql-update-2.2.17_to_2.3.0-mysql.sh b/Scripts/sql-update-2.2.17_to_2.3.0-mysql.sh index bd8f3dd77..1ed8a4818 100755 --- a/Scripts/sql-update-2.2.17_to_2.3.0-mysql.sh +++ b/Scripts/sql-update-2.2.17_to_2.3.0-mysql.sh @@ -49,6 +49,7 @@ function adjustSchema() { echo "This script will ask for the sql password twice" >&2 echo "Converting c_partstates from VARCHAR(255) to mediumtext in calendar quick tables" >&2 +echo "Adding c_description column as mediumtext in calendar quick tables" >&2 tables=`mysql -p -s -u $username -h $hostname $database -e "select SUBSTRING_INDEX(c_quick_location, '/', -1) from $indextable where c_path3 = 'Calendar';"` for table in $tables; diff --git a/Scripts/sql-update-2.2.17_to_2.3.0.sh b/Scripts/sql-update-2.2.17_to_2.3.0.sh index fb6010d49..a9ff62559 100755 --- a/Scripts/sql-update-2.2.17_to_2.3.0.sh +++ b/Scripts/sql-update-2.2.17_to_2.3.0.sh @@ -45,7 +45,8 @@ function adjustSchema() { IFS="$oldIFS" } -echo "Converting c_cycleinfo from VARCHAR(255) to TEXT in calendar quick tables" >&2 +echo "Converting c_partstates from VARCHAR(255) to mediumtext in calendar quick tables" >&2 +echo "Adding c_description column as mediumtext in calendar quick tables" >&2 tables=`psql -t -U $username -h $hostname $database -c "select split_part(c_quick_location, '/', 5) from $indextable where c_path3 = 'Calendar';"` for table in $tables;