Typos fix

main
Yasen Pramatarov 2024-05-29 11:29:14 +03:00
parent 0e858d8f38
commit 672b8cdac1
1 changed files with 1 additions and 1 deletions

2
jilo
View File

@ -313,7 +313,7 @@ case "$cmd" in
# get current and expected db schemas in comparable format
current_db_schema=''
for table in conferences state; do
current_db_schema+=$(mysql -h "$MYQL_HOST" -u "$MYSQL_USER" -p "$MYSQL_PASS" -D "$MYSQL_DB" -e "SHOW CREATE TABLE $table\G" | grep -v "Table" | grep -v "Create Table" | sed 's/^\s*//g')
current_db_schema+=$(mysql -h "$MYSQL_HOST" -u "$MYSQL_USER" -p "$MYSQL_PASS" -D "$MYSQL_DB" -e "SHOW CREATE TABLE $table\G" | grep -v "Table" | grep -v "Create Table" | sed 's/^\s*//g')
done
current_db_schema_normalized=$(db_normalize_schema "$current_db_schema")
expected_db_schema_normalized=$(db_normalize_schema "$db_create")