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

2 lines
No EOL
160 B
SQL

ALTER TABLE files MODIFY IF EXISTS media_id VARBINARY(32) AFTER photo_taken_at;
ALTER TABLE files ADD IF NOT EXISTS media_id VARBINARY(32) AFTER photo_taken_at;