Skip to content

Commit bd8ddb7

Browse files
committed
added checksum for existing upgrades
1 parent cd9d006 commit bd8ddb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/install/updates/update_v1.0.0-rainbow4_vx.x.x.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
if (!Util::databaseTableExists("_sqlx_migrations")) {
2626
// this creates the existing state for sqlx to continue with migrations for all further updates
2727
Factory::getAgentFactory()->getDB()->query("CREATE TABLE `_sqlx_migrations` (`version` bigint NOT NULL, `description` text NOT NULL, `installed_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `success` tinyint(1) NOT NULL, `checksum` blob NOT NULL, `execution_time` bigint NOT NULL, PRIMARY KEY (`version`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;");
28-
Factory::getAgentFactory()->getDB()->query("INSERT INTO `_sqlx_migrations` VALUES (20251127000000,'initial','2025-11-28 14:29:13',1,0x87B4F9CE14A0C5A131A84D96044E89BAD641D0043E19141341C2DE2D307A25B748EF4F356CF4E0ACE439F84EC6C8F77A,1);");
28+
Factory::getAgentFactory()->getDB()->query("INSERT INTO `_sqlx_migrations` VALUES (20251127000000,'initial','2025-11-28 14:29:13',1,0x22F3A0D84CF66E9694946A244FBC19B314F0EA85B9B5C66A3C2BB67EE365AA78D025D9C90FBCCE8E4896FD20988A6740,1);");
2929
}
3030
$EXECUTED["v1.0.0-rainbow4_migration_to_migrations"] = true;
3131
}

0 commit comments

Comments
 (0)