Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions src/migrations/mysql/20260602074349_mysql-autoincrement-fix.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
-- The previous migration could affect the HashType 0 to be changed due to mysql silently on autoincrement application.
UPDATE HashType
SET hashTypeId = 0
WHERE hashTypeId = 100000
AND description = 'MD5'
AND NOT EXISTS (
SELECT 1
FROM (
SELECT 1
FROM HashType
WHERE hashTypeId = 0
) AS temp_check
);
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
-- This migration is only a placeholder to keep migrations parallel
Loading