stash/pkg/sqlite/migrations/28_images_indexes.up.sql

4 lines
107 B
SQL

DROP INDEX IF EXISTS `images_path_unique`;
CREATE UNIQUE INDEX `images_path_unique` ON `images` (`path`);