1 line
No EOL
161 B
SQL
1 line
No EOL
161 B
SQL
UPDATE files SET time_index = CASE WHEN file_missing = 0 AND deleted_at IS NULL THEN (100000000000000 - CAST(photo_taken_at AS UNSIGNED) || '-' || media_id) END; |