Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,10 @@
Cargo.lock text -merge eol=lf linguist-generated=true -diff
package-lock.json linguist-generated=true -diff
* text=auto eol=lf
*.sql text eol=lf
*.sh text eol=lf
*.ts text eol=lf
*.tsx text eol=lf
*.json text eol=lf
*.md text eol=lf
*.toml text eol=lf
*.yml text eol=lf
*.yaml text eol=lf
2 changes: 1 addition & 1 deletion backend/src/db/migrate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ async function runMigrations(isDryRun: boolean): Promise<RunResult> {
// File already applied — check for content drift (tampering detection).
if (record.checksum !== file.checksum) {
const msg =
`[migrate] DRIFT DETECTED: "${file.filename}" was previously ` +
`[migrate] DRIFT DETECTED: "${file.filename}" at "${file.absolutePath}" was previously ` +
`applied with checksum ${record.checksum} but the file now has ` +
`checksum ${file.checksum}. ` +
`Aborting to protect database integrity.`;
Expand Down