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

2 lines
164 B
MySQL
Raw Normal View History

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;