Typos fix
parent
0e858d8f38
commit
672b8cdac1
2
jilo
2
jilo
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue