1
0
mirror of https://github.com/bitwarden/server synced 2026-01-05 01:53:17 +00:00

[AC-1682] Added new mysql migration

This commit is contained in:
Rui Tome
2023-12-19 15:37:39 +00:00
parent 87d420a5e1
commit 5f1f7d6f23
2 changed files with 18 additions and 5 deletions

View File

@@ -10,6 +10,7 @@ SET @MaxBatch := (SELECT MAX(Batch) FROM TempOrgUser);
SET @CurrentBatch := 0;
-- Create the stored procedure
DROP PROCEDURE IF EXISTS ProcessBatches;
CREATE PROCEDURE ProcessBatches(INOUT currentBatch INT, IN maxBatch INT)
BEGIN
WHILE currentBatch <= maxBatch DO