fix for migration files with single query and no delimiter.