Initial commit MKD fixes
This commit is contained in:
5
backend/migrations/add_task_id_to_work_photos.sql
Executable file
5
backend/migrations/add_task_id_to_work_photos.sql
Executable file
@@ -0,0 +1,5 @@
|
||||
-- Привязка фото отчёта (до/после) к задаче
|
||||
ALTER TABLE work_photos
|
||||
ADD COLUMN IF NOT EXISTS task_id VARCHAR(50);
|
||||
|
||||
CREATE INDEX IF NOT EXISTS idx_work_photos_task ON work_photos(task_id);
|
||||
Reference in New Issue
Block a user