From 3b60c357b986d0af3ece43c4fd26c883ed13298f Mon Sep 17 00:00:00 2001 From: Bernd Schoolmann Date: Thu, 3 Apr 2025 11:34:09 +0200 Subject: [PATCH] Remove inactive device migration --- .../2025-04-02_00_Remove_Inactive_Device_Keys.sql | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 util/Migrator/DbScripts/2025-04-02_00_Remove_Inactive_Device_Keys.sql diff --git a/util/Migrator/DbScripts/2025-04-02_00_Remove_Inactive_Device_Keys.sql b/util/Migrator/DbScripts/2025-04-02_00_Remove_Inactive_Device_Keys.sql deleted file mode 100644 index 30d60d0c7e..0000000000 --- a/util/Migrator/DbScripts/2025-04-02_00_Remove_Inactive_Device_Keys.sql +++ /dev/null @@ -1,12 +0,0 @@ -UPDATE [dbo].[Device] -SET - EncryptedUserKey = NULL, - EncryptedPublicKey = NULL, - EncryptedPrivateKey = NULL -WHERE Active = 0 - AND ( - EncryptedUserKey IS NOT NULL OR - EncryptedPublicKey IS NOT NULL OR - EncryptedPrivateKey IS NOT NULL - ); -GO