DO $$ 
	DECLARE _path character varying(256) = 'patch-2024-08-27-TimeZones_Events_Mapping';
	
	BEGIN
		IF EXISTS (SELECT "Id" FROM public."Versions" WHERE "Path"=_path) THEN
			RETURN;
		END IF;

		IF EXISTS (SELECT "Id" FROM public."Versions" WHERE "Build">=14244) THEN
			RETURN;
		END IF;

		BEGIN
			UPDATE public."EventDetails" SET "TimeZoneId"=142 WHERE "TimeZoneId"=2;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=142 WHERE "EndTimeZoneId"=2;
			UPDATE public."EventDetails" SET "TimeZoneId"=456 WHERE "TimeZoneId"=3;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=456 WHERE "EndTimeZoneId"=3;
			UPDATE public."EventDetails" SET "TimeZoneId"=144 WHERE "TimeZoneId"=4;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=144 WHERE "EndTimeZoneId"=4;
			UPDATE public."EventDetails" SET "TimeZoneId"=470 WHERE "TimeZoneId"=5;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=470 WHERE "EndTimeZoneId"=5;
			UPDATE public."EventDetails" SET "TimeZoneId"=152 WHERE "TimeZoneId"=6;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=152 WHERE "EndTimeZoneId"=6;
			UPDATE public."EventDetails" SET "TimeZoneId"=456 WHERE "TimeZoneId"=7;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=456 WHERE "EndTimeZoneId"=7;
			UPDATE public."EventDetails" SET "TimeZoneId"=152 WHERE "TimeZoneId"=8;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=152 WHERE "EndTimeZoneId"=8;
			UPDATE public."EventDetails" SET "TimeZoneId"=155 WHERE "TimeZoneId"=9;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=155 WHERE "EndTimeZoneId"=9;
			UPDATE public."EventDetails" SET "TimeZoneId"=155 WHERE "TimeZoneId"=10;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=155 WHERE "EndTimeZoneId"=10;
			UPDATE public."EventDetails" SET "TimeZoneId"=155 WHERE "TimeZoneId"=11;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=155 WHERE "EndTimeZoneId"=11;
			UPDATE public."EventDetails" SET "TimeZoneId"=169 WHERE "TimeZoneId"=12;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=169 WHERE "EndTimeZoneId"=12;
			UPDATE public."EventDetails" SET "TimeZoneId"=155 WHERE "TimeZoneId"=13;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=155 WHERE "EndTimeZoneId"=13;
			UPDATE public."EventDetails" SET "TimeZoneId"=155 WHERE "TimeZoneId"=14;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=155 WHERE "EndTimeZoneId"=14;
			UPDATE public."EventDetails" SET "TimeZoneId"=169 WHERE "TimeZoneId"=15;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=169 WHERE "EndTimeZoneId"=15;
			UPDATE public."EventDetails" SET "TimeZoneId"=169 WHERE "TimeZoneId"=16;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=169 WHERE "EndTimeZoneId"=16;
			UPDATE public."EventDetails" SET "TimeZoneId"=169 WHERE "TimeZoneId"=17;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=169 WHERE "EndTimeZoneId"=17;
			UPDATE public."EventDetails" SET "TimeZoneId"=195 WHERE "TimeZoneId"=18;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=195 WHERE "EndTimeZoneId"=18;
			UPDATE public."EventDetails" SET "TimeZoneId"=195 WHERE "TimeZoneId"=19;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=195 WHERE "EndTimeZoneId"=19;
			UPDATE public."EventDetails" SET "TimeZoneId"=195 WHERE "TimeZoneId"=20;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=195 WHERE "EndTimeZoneId"=20;
			UPDATE public."EventDetails" SET "TimeZoneId"=218 WHERE "TimeZoneId"=21;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=218 WHERE "EndTimeZoneId"=21;
			UPDATE public."EventDetails" SET "TimeZoneId"=218 WHERE "TimeZoneId"=22;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=218 WHERE "EndTimeZoneId"=22;
			UPDATE public."EventDetails" SET "TimeZoneId"=218 WHERE "TimeZoneId"=23;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=218 WHERE "EndTimeZoneId"=23;
			UPDATE public."EventDetails" SET "TimeZoneId"=218 WHERE "TimeZoneId"=24;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=218 WHERE "EndTimeZoneId"=24;
			UPDATE public."EventDetails" SET "TimeZoneId"=218 WHERE "TimeZoneId"=25;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=218 WHERE "EndTimeZoneId"=25;
			UPDATE public."EventDetails" SET "TimeZoneId"=195 WHERE "TimeZoneId"=26;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=195 WHERE "EndTimeZoneId"=26;
			UPDATE public."EventDetails" SET "TimeZoneId"=240 WHERE "TimeZoneId"=27;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=240 WHERE "EndTimeZoneId"=27;
			UPDATE public."EventDetails" SET "TimeZoneId"=240 WHERE "TimeZoneId"=28;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=240 WHERE "EndTimeZoneId"=28;
			UPDATE public."EventDetails" SET "TimeZoneId"=218 WHERE "TimeZoneId"=29;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=218 WHERE "EndTimeZoneId"=29;
			UPDATE public."EventDetails" SET "TimeZoneId"=218 WHERE "TimeZoneId"=30;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=218 WHERE "EndTimeZoneId"=30;
			UPDATE public."EventDetails" SET "TimeZoneId"=218 WHERE "TimeZoneId"=31;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=218 WHERE "EndTimeZoneId"=31;
			UPDATE public."EventDetails" SET "TimeZoneId"=240 WHERE "TimeZoneId"=32;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=240 WHERE "EndTimeZoneId"=32;
			UPDATE public."EventDetails" SET "TimeZoneId"=240 WHERE "TimeZoneId"=34;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=240 WHERE "EndTimeZoneId"=34;
			UPDATE public."EventDetails" SET "TimeZoneId"=240 WHERE "TimeZoneId"=35;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=240 WHERE "EndTimeZoneId"=35;
			UPDATE public."EventDetails" SET "TimeZoneId"=240 WHERE "TimeZoneId"=36;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=240 WHERE "EndTimeZoneId"=36;
			UPDATE public."EventDetails" SET "TimeZoneId"=240 WHERE "TimeZoneId"=37;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=240 WHERE "EndTimeZoneId"=37;
			UPDATE public."EventDetails" SET "TimeZoneId"=240 WHERE "TimeZoneId"=38;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=240 WHERE "EndTimeZoneId"=38;
			UPDATE public."EventDetails" SET "TimeZoneId"=240 WHERE "TimeZoneId"=39;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=240 WHERE "EndTimeZoneId"=39;
			UPDATE public."EventDetails" SET "TimeZoneId"=240 WHERE "TimeZoneId"=40;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=240 WHERE "EndTimeZoneId"=40;
			UPDATE public."EventDetails" SET "TimeZoneId"=240 WHERE "TimeZoneId"=41;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=240 WHERE "EndTimeZoneId"=41;
			UPDATE public."EventDetails" SET "TimeZoneId"=265 WHERE "TimeZoneId"=42;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=265 WHERE "EndTimeZoneId"=42;
			UPDATE public."EventDetails" SET "TimeZoneId"=265 WHERE "TimeZoneId"=43;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=265 WHERE "EndTimeZoneId"=43;
			UPDATE public."EventDetails" SET "TimeZoneId"=265 WHERE "TimeZoneId"=44;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=265 WHERE "EndTimeZoneId"=44;
			UPDATE public."EventDetails" SET "TimeZoneId"=269 WHERE "TimeZoneId"=45;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=269 WHERE "EndTimeZoneId"=45;
			UPDATE public."EventDetails" SET "TimeZoneId"=269 WHERE "TimeZoneId"=46;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=269 WHERE "EndTimeZoneId"=46;
			UPDATE public."EventDetails" SET "TimeZoneId"=272 WHERE "TimeZoneId"=47;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=272 WHERE "EndTimeZoneId"=47;
			UPDATE public."EventDetails" SET "TimeZoneId"=272 WHERE "TimeZoneId"=48;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=272 WHERE "EndTimeZoneId"=48;
			UPDATE public."EventDetails" SET "TimeZoneId"=272 WHERE "TimeZoneId"=49;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=272 WHERE "EndTimeZoneId"=49;
			UPDATE public."EventDetails" SET "TimeZoneId"=272 WHERE "TimeZoneId"=50;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=272 WHERE "EndTimeZoneId"=50;
			UPDATE public."EventDetails" SET "TimeZoneId"=305 WHERE "TimeZoneId"=51;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=305 WHERE "EndTimeZoneId"=51;
			UPDATE public."EventDetails" SET "TimeZoneId"=305 WHERE "TimeZoneId"=52;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=305 WHERE "EndTimeZoneId"=52;
			UPDATE public."EventDetails" SET "TimeZoneId"=305 WHERE "TimeZoneId"=53;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=305 WHERE "EndTimeZoneId"=53;
			UPDATE public."EventDetails" SET "TimeZoneId"=305 WHERE "TimeZoneId"=54;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=305 WHERE "EndTimeZoneId"=54;
			UPDATE public."EventDetails" SET "TimeZoneId"=305 WHERE "TimeZoneId"=55;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=305 WHERE "EndTimeZoneId"=55;
			UPDATE public."EventDetails" SET "TimeZoneId"=305 WHERE "TimeZoneId"=56;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=305 WHERE "EndTimeZoneId"=56;
			UPDATE public."EventDetails" SET "TimeZoneId"=315 WHERE "TimeZoneId"=57;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=315 WHERE "EndTimeZoneId"=57;
			UPDATE public."EventDetails" SET "TimeZoneId"=315 WHERE "TimeZoneId"=58;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=315 WHERE "EndTimeZoneId"=58;
			UPDATE public."EventDetails" SET "TimeZoneId"=315 WHERE "TimeZoneId"=59;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=315 WHERE "EndTimeZoneId"=59;
			UPDATE public."EventDetails" SET "TimeZoneId"=315 WHERE "TimeZoneId"=60;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=315 WHERE "EndTimeZoneId"=60;
			UPDATE public."EventDetails" SET "TimeZoneId"=315 WHERE "TimeZoneId"=61;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=315 WHERE "EndTimeZoneId"=61;
			UPDATE public."EventDetails" SET "TimeZoneId"=315 WHERE "TimeZoneId"=62;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=315 WHERE "EndTimeZoneId"=62;
			UPDATE public."EventDetails" SET "TimeZoneId"=315 WHERE "TimeZoneId"=63;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=315 WHERE "EndTimeZoneId"=63;
			UPDATE public."EventDetails" SET "TimeZoneId"=315 WHERE "TimeZoneId"=64;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=315 WHERE "EndTimeZoneId"=64;
			UPDATE public."EventDetails" SET "TimeZoneId"=315 WHERE "TimeZoneId"=65;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=315 WHERE "EndTimeZoneId"=65;
			UPDATE public."EventDetails" SET "TimeZoneId"=315 WHERE "TimeZoneId"=66;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=315 WHERE "EndTimeZoneId"=66;
			UPDATE public."EventDetails" SET "TimeZoneId"=315 WHERE "TimeZoneId"=67;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=315 WHERE "EndTimeZoneId"=67;
			UPDATE public."EventDetails" SET "TimeZoneId"=315 WHERE "TimeZoneId"=68;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=315 WHERE "EndTimeZoneId"=68;
			UPDATE public."EventDetails" SET "TimeZoneId"=315 WHERE "TimeZoneId"=69;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=315 WHERE "EndTimeZoneId"=69;
			UPDATE public."EventDetails" SET "TimeZoneId"=315 WHERE "TimeZoneId"=70;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=315 WHERE "EndTimeZoneId"=70;
			UPDATE public."EventDetails" SET "TimeZoneId"=324 WHERE "TimeZoneId"=71;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=324 WHERE "EndTimeZoneId"=71;
			UPDATE public."EventDetails" SET "TimeZoneId"=324 WHERE "TimeZoneId"=72;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=324 WHERE "EndTimeZoneId"=72;
			UPDATE public."EventDetails" SET "TimeZoneId"=324 WHERE "TimeZoneId"=73;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=324 WHERE "EndTimeZoneId"=73;
			UPDATE public."EventDetails" SET "TimeZoneId"=324 WHERE "TimeZoneId"=74;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=324 WHERE "EndTimeZoneId"=74;
			UPDATE public."EventDetails" SET "TimeZoneId"=324 WHERE "TimeZoneId"=75;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=324 WHERE "EndTimeZoneId"=75;
			UPDATE public."EventDetails" SET "TimeZoneId"=324 WHERE "TimeZoneId"=76;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=324 WHERE "EndTimeZoneId"=76;
			UPDATE public."EventDetails" SET "TimeZoneId"=324 WHERE "TimeZoneId"=77;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=324 WHERE "EndTimeZoneId"=77;
			UPDATE public."EventDetails" SET "TimeZoneId"=324 WHERE "TimeZoneId"=78;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=324 WHERE "EndTimeZoneId"=78;
			UPDATE public."EventDetails" SET "TimeZoneId"=340 WHERE "TimeZoneId"=80;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=340 WHERE "EndTimeZoneId"=80;
			UPDATE public."EventDetails" SET "TimeZoneId"=340 WHERE "TimeZoneId"=81;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=340 WHERE "EndTimeZoneId"=81;
			UPDATE public."EventDetails" SET "TimeZoneId"=340 WHERE "TimeZoneId"=82;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=340 WHERE "EndTimeZoneId"=82;
			UPDATE public."EventDetails" SET "TimeZoneId"=340 WHERE "TimeZoneId"=83;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=340 WHERE "EndTimeZoneId"=83;
			UPDATE public."EventDetails" SET "TimeZoneId"=340 WHERE "TimeZoneId"=84;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=340 WHERE "EndTimeZoneId"=84;
			UPDATE public."EventDetails" SET "TimeZoneId"=340 WHERE "TimeZoneId"=85;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=340 WHERE "EndTimeZoneId"=85;
			UPDATE public."EventDetails" SET "TimeZoneId"=340 WHERE "TimeZoneId"=86;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=340 WHERE "EndTimeZoneId"=86;
			UPDATE public."EventDetails" SET "TimeZoneId"=340 WHERE "TimeZoneId"=87;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=340 WHERE "EndTimeZoneId"=87;
			UPDATE public."EventDetails" SET "TimeZoneId"=351 WHERE "TimeZoneId"=88;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=351 WHERE "EndTimeZoneId"=88;
			UPDATE public."EventDetails" SET "TimeZoneId"=352 WHERE "TimeZoneId"=89;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=352 WHERE "EndTimeZoneId"=89;
			UPDATE public."EventDetails" SET "TimeZoneId"=352 WHERE "TimeZoneId"=90;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=352 WHERE "EndTimeZoneId"=90;
			UPDATE public."EventDetails" SET "TimeZoneId"=352 WHERE "TimeZoneId"=91;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=352 WHERE "EndTimeZoneId"=91;
			UPDATE public."EventDetails" SET "TimeZoneId"=352 WHERE "TimeZoneId"=92;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=352 WHERE "EndTimeZoneId"=92;
			UPDATE public."EventDetails" SET "TimeZoneId"=364 WHERE "TimeZoneId"=93;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=364 WHERE "EndTimeZoneId"=93;
			UPDATE public."EventDetails" SET "TimeZoneId"=364 WHERE "TimeZoneId"=94;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=364 WHERE "EndTimeZoneId"=94;
			UPDATE public."EventDetails" SET "TimeZoneId"=366 WHERE "TimeZoneId"=95;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=366 WHERE "EndTimeZoneId"=95;
			UPDATE public."EventDetails" SET "TimeZoneId"=367 WHERE "TimeZoneId"=96;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=367 WHERE "EndTimeZoneId"=96;
			UPDATE public."EventDetails" SET "TimeZoneId"=367 WHERE "TimeZoneId"=97;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=367 WHERE "EndTimeZoneId"=97;
			UPDATE public."EventDetails" SET "TimeZoneId"=367 WHERE "TimeZoneId"=98;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=367 WHERE "EndTimeZoneId"=98;
			UPDATE public."EventDetails" SET "TimeZoneId"=375 WHERE "TimeZoneId"=99;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=375 WHERE "EndTimeZoneId"=99;
			UPDATE public."EventDetails" SET "TimeZoneId"=376 WHERE "TimeZoneId"=100;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=376 WHERE "EndTimeZoneId"=100;
			UPDATE public."EventDetails" SET "TimeZoneId"=376 WHERE "TimeZoneId"=101;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=376 WHERE "EndTimeZoneId"=101;
			UPDATE public."EventDetails" SET "TimeZoneId"=376 WHERE "TimeZoneId"=102;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=376 WHERE "EndTimeZoneId"=102;
			UPDATE public."EventDetails" SET "TimeZoneId"=376 WHERE "TimeZoneId"=103;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=376 WHERE "EndTimeZoneId"=103;
			UPDATE public."EventDetails" SET "TimeZoneId"=376 WHERE "TimeZoneId"=104;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=376 WHERE "EndTimeZoneId"=104;
			UPDATE public."EventDetails" SET "TimeZoneId"=376 WHERE "TimeZoneId"=105;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=376 WHERE "EndTimeZoneId"=105;
			UPDATE public."EventDetails" SET "TimeZoneId"=385 WHERE "TimeZoneId"=106;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=385 WHERE "EndTimeZoneId"=106;
			UPDATE public."EventDetails" SET "TimeZoneId"=385 WHERE "TimeZoneId"=107;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=385 WHERE "EndTimeZoneId"=107;
			UPDATE public."EventDetails" SET "TimeZoneId"=385 WHERE "TimeZoneId"=108;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=385 WHERE "EndTimeZoneId"=108;
			UPDATE public."EventDetails" SET "TimeZoneId"=385 WHERE "TimeZoneId"=109;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=385 WHERE "EndTimeZoneId"=109;
			UPDATE public."EventDetails" SET "TimeZoneId"=385 WHERE "TimeZoneId"=110;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=385 WHERE "EndTimeZoneId"=110;
			UPDATE public."EventDetails" SET "TimeZoneId"=385 WHERE "TimeZoneId"=111;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=385 WHERE "EndTimeZoneId"=111;
			UPDATE public."EventDetails" SET "TimeZoneId"=471 WHERE "TimeZoneId"=112;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=471 WHERE "EndTimeZoneId"=112;
			UPDATE public."EventDetails" SET "TimeZoneId"=401 WHERE "TimeZoneId"=113;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=401 WHERE "EndTimeZoneId"=113;
			UPDATE public."EventDetails" SET "TimeZoneId"=401 WHERE "TimeZoneId"=114;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=401 WHERE "EndTimeZoneId"=114;
			UPDATE public."EventDetails" SET "TimeZoneId"=401 WHERE "TimeZoneId"=115;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=401 WHERE "EndTimeZoneId"=115;
			UPDATE public."EventDetails" SET "TimeZoneId"=401 WHERE "TimeZoneId"=116;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=401 WHERE "EndTimeZoneId"=116;
			UPDATE public."EventDetails" SET "TimeZoneId"=401 WHERE "TimeZoneId"=117;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=401 WHERE "EndTimeZoneId"=117;
			UPDATE public."EventDetails" SET "TimeZoneId"=407 WHERE "TimeZoneId"=119;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=407 WHERE "EndTimeZoneId"=119;
			UPDATE public."EventDetails" SET "TimeZoneId"=410 WHERE "TimeZoneId"=120;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=410 WHERE "EndTimeZoneId"=120;
			UPDATE public."EventDetails" SET "TimeZoneId"=410 WHERE "TimeZoneId"=121;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=410 WHERE "EndTimeZoneId"=121;
			UPDATE public."EventDetails" SET "TimeZoneId"=410 WHERE "TimeZoneId"=122;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=410 WHERE "EndTimeZoneId"=122;
			UPDATE public."EventDetails" SET "TimeZoneId"=420 WHERE "TimeZoneId"=123;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=420 WHERE "EndTimeZoneId"=123;
			UPDATE public."EventDetails" SET "TimeZoneId"=420 WHERE "TimeZoneId"=124;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=420 WHERE "EndTimeZoneId"=124;
			UPDATE public."EventDetails" SET "TimeZoneId"=420 WHERE "TimeZoneId"=125;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=420 WHERE "EndTimeZoneId"=125;
			UPDATE public."EventDetails" SET "TimeZoneId"=420 WHERE "TimeZoneId"=126;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=420 WHERE "EndTimeZoneId"=126;
			UPDATE public."EventDetails" SET "TimeZoneId"=420 WHERE "TimeZoneId"=127;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=420 WHERE "EndTimeZoneId"=127;
			UPDATE public."EventDetails" SET "TimeZoneId"=428 WHERE "TimeZoneId"=128;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=428 WHERE "EndTimeZoneId"=128;
			UPDATE public."EventDetails" SET "TimeZoneId"=420 WHERE "TimeZoneId"=129;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=420 WHERE "EndTimeZoneId"=129;
			UPDATE public."EventDetails" SET "TimeZoneId"=420 WHERE "TimeZoneId"=130;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=420 WHERE "EndTimeZoneId"=130;
			UPDATE public."EventDetails" SET "TimeZoneId"=420 WHERE "TimeZoneId"=131;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=420 WHERE "EndTimeZoneId"=131;
			UPDATE public."EventDetails" SET "TimeZoneId"=428 WHERE "TimeZoneId"=132;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=428 WHERE "EndTimeZoneId"=132;
			UPDATE public."EventDetails" SET "TimeZoneId"=441 WHERE "TimeZoneId"=133;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=441 WHERE "EndTimeZoneId"=133;
			UPDATE public."EventDetails" SET "TimeZoneId"=428 WHERE "TimeZoneId"=134;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=428 WHERE "EndTimeZoneId"=134;
			UPDATE public."EventDetails" SET "TimeZoneId"=428 WHERE "TimeZoneId"=135;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=428 WHERE "EndTimeZoneId"=135;
			UPDATE public."EventDetails" SET "TimeZoneId"=428 WHERE "TimeZoneId"=136;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=428 WHERE "EndTimeZoneId"=136;
			UPDATE public."EventDetails" SET "TimeZoneId"=441 WHERE "TimeZoneId"=138;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=441 WHERE "EndTimeZoneId"=138;
			UPDATE public."EventDetails" SET "TimeZoneId"=441 WHERE "TimeZoneId"=139;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=441 WHERE "EndTimeZoneId"=139;
			UPDATE public."EventDetails" SET "TimeZoneId"=466 WHERE "TimeZoneId"=140;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=466 WHERE "EndTimeZoneId"=140;
			UPDATE public."EventDetails" SET "TimeZoneId"=466 WHERE "TimeZoneId"=141;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=466 WHERE "EndTimeZoneId"=141;
			UPDATE public."EventDetails" SET "TimeZoneId"=142 WHERE "TimeZoneId"=1;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=142 WHERE "EndTimeZoneId"=1;
			UPDATE public."EventDetails" SET "TimeZoneId"=239 WHERE "TimeZoneId"=33;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=239 WHERE "EndTimeZoneId"=33;
			UPDATE public."EventDetails" SET "TimeZoneId"=340 WHERE "TimeZoneId"=79;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=340 WHERE "EndTimeZoneId"=79;
			UPDATE public."EventDetails" SET "TimeZoneId"=427 WHERE "TimeZoneId"=118;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=427 WHERE "EndTimeZoneId"=118;
			UPDATE public."EventDetails" SET "TimeZoneId"=439 WHERE "TimeZoneId"=137;
			UPDATE public."EventDetails" SET "EndTimeZoneId"=439 WHERE "EndTimeZoneId"=137;
 			INSERT INTO public."Versions" ("Path", "Build") VALUES (_path, 0);
			EXCEPTION
				WHEN OTHERS THEN RAISE NOTICE '[ERR] patch-2024-08-22-TimeZones_Events_Mapping: %', SQLERRM;
		END;
	END;
$$