Skip to content

Commit 996ef2b

Browse files
authored
Fix migration from banned instances (#1913)
1 parent df9e68f commit 996ef2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

migrations/Version20250813132233.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function up(Schema $schema): void
3030
LOOP
3131
IF NOT EXISTS (SELECT * FROM instance i WHERE i.domain = tempRow.value) THEN
3232
INSERT INTO instance(id, domain, created_at, failed_delivers, updated_at, is_banned)
33-
VALUES (NEXTVAL('instance_id_seq'), current_timestamp(0), 0, current_timestamp(0), true);
33+
VALUES (NEXTVAL('instance_id_seq'), tempRow.value, current_timestamp(0), 0, current_timestamp(0), true);
3434
ELSE
3535
UPDATE instance SET is_banned = true WHERE domain = tempRow.value;
3636
END IF;

0 commit comments

Comments
 (0)