In PreCommit::Utils::StagedFiles#filter_files db/structure.sql skipped as it's not a source file nor binary
is this a misconfiguration on my side? or an issue
update
I found the issue in this check, as filesize exceeded 1_000_000
def appears_binary?(filename)
size = File.size(filename)
size > 1_000_000 || (size > 20 && binary?(filename))
end