mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Restructure data layer (#2532)
* Add new txn manager interface * Add txn management to sqlite * Rename get to getByID * Add contexts to repository methods * Update query builders * Add context to reader writer interfaces * Use repository in resolver * Tighten interfaces * Tighten interfaces in dlna * Tighten interfaces in match package * Tighten interfaces in scraper package * Tighten interfaces in scan code * Tighten interfaces on autotag package * Remove ReaderWriter usage * Merge database package into sqlite
This commit is contained in:
3
pkg/sqlite/migrations/28_images_indexes.up.sql
Normal file
3
pkg/sqlite/migrations/28_images_indexes.up.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
DROP INDEX IF EXISTS `images_path_unique`;
|
||||
|
||||
CREATE UNIQUE INDEX `images_path_unique` ON `images` (`path`);
|
||||
Reference in New Issue
Block a user