addon
This commit is contained in:
8
backend/migrations/009_add_thumbnail_path.sql
Executable file
8
backend/migrations/009_add_thumbnail_path.sql
Executable file
@@ -0,0 +1,8 @@
|
||||
-- Migration 009: Add thumbnail_path to peripheral_photos
|
||||
-- Date: 2025-12-31
|
||||
|
||||
-- Add thumbnail_path field (path to thumbnail image)
|
||||
ALTER TABLE peripheral_photos ADD COLUMN thumbnail_path TEXT;
|
||||
|
||||
-- Thumbnails will be stored in uploads/peripherals/photos/{id}/thumbnail/
|
||||
-- and generated automatically on upload
|
||||
Reference in New Issue
Block a user