chore(db): make sure scripts are created and checkuted with LF..
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
root = true
|
||||
|
||||
[*]
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
charset = utf-8
|
||||
@@ -0,0 +1,21 @@
|
||||
# Normalize line endings to LF for everything Git considers text, so a file's on-disk bytes
|
||||
# never depend on the OS or editor that last touched it. This matters most for Flyway migrations
|
||||
# under src/main/resources/db/migration: Flyway checksums the file content it applies, and a
|
||||
# CRLF/LF flip after a migration has already run invalidates that checksum on every other clone.
|
||||
* text=auto eol=lf
|
||||
|
||||
*.sql text eol=lf
|
||||
*.java text eol=lf
|
||||
*.yaml text eol=lf
|
||||
*.yml text eol=lf
|
||||
*.properties text eol=lf
|
||||
*.css text eol=lf
|
||||
*.md text eol=lf
|
||||
*.xml text eol=lf
|
||||
|
||||
*.jar binary
|
||||
*.png binary
|
||||
*.jpg binary
|
||||
*.jpeg binary
|
||||
*.ico binary
|
||||
*.icns binary
|
||||
Reference in New Issue
Block a user