mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Add phash generation and dupe checking (#1158)
This commit is contained in:
@@ -23,7 +23,7 @@ import (
|
||||
var DB *sqlx.DB
|
||||
var WriteMu *sync.Mutex
|
||||
var dbPath string
|
||||
var appSchemaVersion uint = 19
|
||||
var appSchemaVersion uint = 20
|
||||
var databaseSchemaVersion uint
|
||||
|
||||
const sqlite3Driver = "sqlite3ex"
|
||||
|
||||
1
pkg/database/migrations/20_phash.up.sql
Normal file
1
pkg/database/migrations/20_phash.up.sql
Normal file
@@ -0,0 +1 @@
|
||||
ALTER TABLE `scenes` ADD COLUMN `phash` blob;
|
||||
Reference in New Issue
Block a user