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

2 lines
No EOL
164 B
SQL

ALTER TABLE files MODIFY IF EXISTS time_index VARBINARY(48) AFTER photo_taken_at;
ALTER TABLE files ADD IF NOT EXISTS time_index VARBINARY(48) AFTER photo_taken_at;