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

2 lines
160 B
MySQL
Raw Normal View History

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;