diff --git a/sqlmig b/sqlmig index 81872d2..7f4a00d 100755 --- a/sqlmig +++ b/sqlmig @@ -1277,7 +1277,7 @@ for dbdir in "${dbdirs[@]}"; do eval "$(awk '{ truncate = ($0 ~ /-data_truncate(.devel)?.csv$/)? "1": "" sub(/^.*\//, "") - sub(/^[0-9.]*[0-9]-?/, "") + sub(/^[A-Z0-9.]*[0-9]-?/, "") sub(/\.csv$/, "") sub(/\.devel$/, "") sub(/-data(_[a-z]+*)?$/, "")