diff --git a/DBRepair.sh b/DBRepair.sh index bb52e7d..adcfbb2 100755 --- a/DBRepair.sh +++ b/DBRepair.sh @@ -2,12 +2,12 @@ ######################################################################### # Database Repair Utility for Plex Media Server. # # Maintainer: ChuckPa # -# Version: v1.13.01 # -# Date: 14-Nov-2025 # +# Version: v1.13.02 # +# Date: 04-Dec-2025 # ######################################################################### # Version for display purposes -Version="v1.13.01" +Version="v1.13.02" # Have the databases passed integrity checks CheckedDB=0 @@ -1462,9 +1462,12 @@ DoDeflate() { -- Exclusive DB access BEGIN IMMEDIATE; + -- Remove old temp table if exists + DROP TABLE IF EXISTS temp_bandwidth; + -- Create new table CREATE TABLE temp_bandwidth ( - id INTEGER PRIMARY KEY, + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, account_id INTEGER, device_id INTEGER, timespan INTEGER, diff --git a/ReleaseNotes b/ReleaseNotes index 0f79eee..b78c8cc 100644 --- a/ReleaseNotes +++ b/ReleaseNotes @@ -8,6 +8,10 @@ ![Maintenance](https://img.shields.io/badge/Maintained-Yes-green.svg) # Release Info: +v1.13.02 + + 1. Autoincrement - Adjust statistics_bandwidth table per Plex engineering suggestion. + v1.13.01 1. Tag sort order - Github tags are not guaranteed to be numeric or in most-recent order.