photoprism/internal/migrate/mysql/20220118-172400.sql
Michael Mayer eeee5973ad MariaDB: Alter albums.album_filter to VARBINARY(767) and add index #1953
Using a migration for testing on develop so nothing breaks (yet).
2022-01-18 17:34:28 +01:00

2 lines
No EOL
142 B
SQL

ALTER TABLE albums MODIFY album_filter VARBINARY(767) DEFAULT '';
CREATE INDEX IF NOT EXISTS idx_albums_album_filter ON albums (album_filter);