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