photoprism/internal/migrate/mysql/20220329-071000.sql

1 line
No EOL
90 B
SQL

UPDATE files f JOIN photos p ON p.id = f.photo_id SET f.photo_taken_at = p.taken_at_local;