feat: add fileHash column to files schema

Update files database schema and test suite to support fileHash property.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
MythEclipse
2026-05-18 19:36:19 +07:00
co-authored by Claude Opus 4.7
parent 3d2500ed7f
commit 22c2133b24
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -25,6 +25,7 @@ describe('Database Layer', () => {
expect(files.sizeBytes).toBeDefined();
expect(files.fileType).toBeDefined();
expect(files.uploaderId).toBeDefined();
expect(files.fileHash).toBeDefined();
expect(files.createdAt).toBeDefined();
expect(files.updatedAt).toBeDefined();
});