This commit is contained in:
seb
2026-07-31 19:49:07 +02:00
parent 6b1701d4dc
commit e8326e22ac
10 changed files with 827 additions and 5 deletions

9
src/sql/pic.js Normal file
View File

@@ -0,0 +1,9 @@
export const CREATE = `
INSERT INTO pic (
w, h, size, hash, thumbw, thumbh, thumbhash, source, [binary], thumbbinary
)
OUTPUT INSERTED.id
VALUES (
@w, @h, @size, @hash, @thumbw, @thumbh, @thumbhash, @source, @binary, @thumbbinary
)
`;