diff --git a/packages/discovery-provider/ddl/migrations/0045_fix_release_dates.sql b/packages/discovery-provider/ddl/migrations/0045_fix_release_dates.sql new file mode 100644 index 00000000000..8fff7417fa2 --- /dev/null +++ b/packages/discovery-provider/ddl/migrations/0045_fix_release_dates.sql @@ -0,0 +1,23 @@ +BEGIN; +alter table tracks disable trigger on_track; +alter table tracks disable trigger trg_tracks; + + UPDATE tracks + SET release_date = created_at + WHERE release_date > created_at; + + -- Gate for only prod + DO $$ BEGIN + + IF EXISTS (SELECT * FROM "blocks" WHERE "blockhash" = '0x8d5e6984014505e1e11bcbb1ca1a13bcc6ae85ac74014710a73271d82ca49f01') THEN + + UPDATE tracks + SET is_unlisted = true + WHERE track_id in (447176,540100489,388684674,1234512807,37241585,147060864,287648472,1901436097,209948198,1561058803,151366081,758877734,881433720,2016714908,980065967,84646043,77754863,796649041,1777268274,229147219,1918354517,1692537282,867892538,1281093136,775778287,1345174150,823160103,1545557677,1934767969,1686721230,961844911,1019927716,1003205368,229855491,1442612950,1550235251,1136025237,1549658827,1553988553,862769854,2140082812,982862381,1437833244,1052962948,1496050508,553332279,387980910,2035290068,671483794,668179452,1451249162,1535444392,764746823,609911977,1459487171,2133135825,1495338939,599455851,977801147,186642644,1225975676,1066982878,1419962971,693199217,1582815226,750645424,1893837686,1163450131,355850443,2063540648,197181078,1342132030,892675008,1051956742,1538854875,438287,1977513098,482260985,117431787,59288270,386903,87044,865432771,1452059845,330454442,2066567364,92434,67911202,1676579852,2063865659,1608385308,906709395,2096569448,923401060,1797962781,1146092239,1576257337,1204372189,1243575502,185598970,1812702808,2072384683,669299803,724132551,716991416,1875545556,508949925,396384522,262902149,131586347,1653783575,1585992296,1989179349,2079148496,1503872703,2013152477,1282376703,1664338008,309537937,2030008854,256708188,1971834278,13435757,547351913,28375015,171143810,1989715873,897903871,1603126905,235118125,1453240974,447484475,131977940,1972598301,1296139006,1174348228,31553964,303317906,1212645747,483444769,1134617788,1395326565,1273444987,1361082392,1195476345,956299130,1443847090,1411774100,1708957031,246035434,1129937508,1000238625,1397555098,1876620587,1315159900,96833801,1260965036,1920372341,1298644306,667607216,429708952,857765976,248053804,1869304195,403766040,2056415778,1839148711,2144538699,327130545,1725648939,1053937233,67787997,598312910,2109103729,109175331,571230192,1307322453,1702374390,126410798,2093003883,1173001394,1571223888,1195349640,39667725,596491279,1703923313,1665016885,1203418812,2064707763,1429668846,1238897479,375781308,1430765154,360221917,1391232175,1954108116,1958989829,512170162,164298175,1717693687,787104204,1938714330,1152709272,525915067,687943250,538558964,1255222739,306153470,617396379,2024780256,936525991,1916916881,731499488,616265541,1823287952,1109293211,677225249,1801059667,1805603251,90540069,1992393834,336485987,5908287,1615176710,1337960756,677858,2092427132,1113526,2131235886,328263442,330657630,219787221,1683056555,1965621726,1959097719,140496227,2110271808,268910,268900,268903,268902,268909,1897928105,1811507168,1104937,150417633,498280124,1806979781,1786891793,1635579221,356136040,529314986,909608993,303555,541892512,74390,1282283666,547468315,575276568,766171409,496676356,167234,220823,1977121454,316034,962958630,1719942683,1851444947,1801248825,303553,2029401528,1834913474,1705753986,430834177,1052661623,867798311,405851562,1625978395,412030819,202429,2146326626,406124979,335660419,2025420844,974583817,135246890,663842341,1010386975,1386264551,1260421423,1258587048,169603466,2022047788,498708053,1293171788,10348282,2014793481,1812627764,684418814,1616406581,1689837168,1790955680,729018489,278806928,1928371889,235889725,443552817,1813610100,1062651950,32427640,510789942,1057532028,1986625247,637350913,2019706346,2045268535,1719630645,548355671,110076198,902272086,347547855,1558676884,785987,1622308675,738227013,714781580,1015785524,675127531,996679783,252420,690781,215088,289111,658141,757837,1079862,39453,996344,462310,299256,215882,1851037014,319824,474207,74681,248709,678263,315425,64868,530599,390826,681085,47109,572651532,439322,71696679,915772,361807,41687,106966,1126773,276477036,465790,447580,458407,1136825,263329,1853054613,235201,2054418316,1063920,308075,477005,428529,1762269872,318365,1001500,196829,209338,906512474,1741653268,397903,412383,415518,732498536,75362,637299,1096446,1050525,988376,910147,233923,230423,1067776,1629482889,911886,97659,159662,1007002,512332,228786,186034,537711,353932,437208,1104183,416859,581570274,640495,998863,1044680670,1045558,492453,27981,407588,974860,301188,206548,435755,1113386,239489105,293869,59308,408579,232580,768580,252421,89973,435216,998402,235203,1112117,1104503,38087,589506,1097289,1029053,579070,68573,1025418,1100659,217847,1080275,299550,1016414,592022,183568,254133,88872,125011,570318,525927,444536,232171,474022,86457,687525618,1122316,40462,92710,62643,308006,1076042,307953,232366,968232,38640,1094545767,1821330834,1022683,1844362145,72342,447418,1067789,952422,50857,1100289,46029,1074527,458219,381052,1113515,319402,70982,368032,255358,232218,453292,427273,395767982,206126113,474215,245032,62655,1117966,315490,986151,1976758662,999734,383639,57851,1099782,142142,1058732,1940626809,481181,640500,1100054,81096,693826,1126170957,157647,308135,1116984,428097,738907,1082040,490778,434999,489523,425306,754602414,768578,590078,990141,1123012,1109964,956264,967424,379009,211383,677199,248717,486295,1043104,4853155,1022806,86907,893868962,29903,757095,266064,768577,273802726,1115316,1089024,1089617,177351,556549,1092151,203889,164653849,1030609,158202,437207,89595,316058,48636,1092319,998710,636044,194201,627858,770555,67398,393844,442857,740975,1057227,479891,614856161,734714,386729,76328,449071,370838,1101191,554283,41178,96205,1086680,690172,1452564022,245351,214523,1011784,588518,951572,445902,376157,80217,33601,1119995,507935,268206,43259,1021525,189398,314540,393849,1085782,537690,1044385,86377,199375,212179,1072538,994435725,624059,35037,749340,60510,28519,1106940,387502,975761,945213,358933,983640,1095644,1886738941,627873,1120520,998708,56666,919017,308106,723039,1049688,261159,462255,154476,734762,80215,193986,412491,1131178,681160,1070470,156362,64635,300041,222129,1049543,54379,248708,8458129,1095643,231159,967920,768579,64872,691013,163984,372293,66240,158282,948737,1612159699,471497,1113384,1040765,673283974,1511835380,323549,337581,165084,200759,1745999857,342719,1007246,578014,282995,828349,691026,278787469,68363,1774832275,942052,409505,581375,222563251,1127190,392469,1068003,42893,176012,457936,216670,1118542,550838,731285,570115,656273,879139993,1120499,401933,94307,967462,94309,261252,398138,588516,308008,728162,59049,1057086,73143,615145,444282,303545,729684,951967,582592,256246,947644,579320,1098181,307985,160595,91322,991276,690751,1576088443,2069941378,1078685,832196,63711,207663,1029067,228790,710082,35655,407543,423330,443327,220734,1901545797,988335,695136060,354240,598991,735723,411341,1093539,308134,427916,673872,564070,599130,940512417,161411,608535249,766448,201085,62265,173918,598968,68049,211198,104197,250278115,636131,770816,626980,442165,1102889065,472274,254761,406884,551239,1126194,823606,1122308,421191,686855190,120193,1070673,339823,1482175975,1067739,37395,1919852708,1073646,1803109574,729769799,200247,411084,150576348,173172,1169208023,237786,520287,69388,540000,217360,1066090,495490,1072759,208365,1099777,411272,562490,994400,622336,637343,119640,1493446807,693827,411547,512456,316045,414985,1044970,534555,1065407,579401,752911,244512,401899,1622942660,1564204848,471944,724719,1043628,64888,182334,437202,217845,445644,163225,307947,323926,555607,84936,72102,401136,1006672,465932,1019247,1105364,306409,693787,432766,758843241,511795,477767,241108,552171,765239,319180,228595,215881,1122300,1054694,191526,442904,804065,69394,187885,1233395696,93833346,43586,579331,707137,1063749,245244,268760,1073461,550831,71222,1088726,252041,461603,827998,2091900010,362241,764230232,449249,557794,292547,1010438,941704,1271402866,318769,78763,178291,215120,1011266,390788,796997,927750,1058741,269684,1107325,420546,232496,612008,435449224,234207,1092655,731408862,881269,1136201,555464,520810,731301,152857,759617,479892,232685,1126193,354943,414184,2052492386,768575,248727,390342912,588606,405152,821749,406738,25069,331374,1048223,815519180,600182,980402,1116492,473282,1058027,160581,1097529,577095,727958,82080,764963,118672294,983033,27983,65167,154670,1566298012,559389,77618,478372,768737,1080404,83009,494627,193629,400039,771454,171332,765440,196182,497856941,434186,553316,1078664,46876,473208,491214,1095922,303549,953790,715730687,333109,542438,544596,1096732,1073884,479973,381670,80838,73145,429618,199377,308042,1974623548,555471,474600,1397081281,1121124,215432,1077830,1123138,217361,1078802,240215,572423,287971,247092,2079093624,1052674,516489,493494,764132,82083,582856,490656,422484,89233950,1045317,174256598,943757,998469,84499,452118,1153230722,377999,286431,172476,1042679,1118004,248713,64870,642473,315422,158252,1831679526,474213,361286,172314,86891,232578,89030,81351,581170,308017,165986,266303,158356,1055323,1066182,651816,491124,82725,389304,2144917585,570623,68655,65465,1100150,579387,47424,863340,590336,104209,485479,571282,1087713,770827,158199,1067996,738827,640933464,262102,1104939,398902,444632,656387,707100,256875,188424,266304,70938,679135,51110,21139,1505803271,786152980,1120719,195982,1043632,554676,950114,443379,464555,453375,200970,170338,33145109,285813,749978,286564,1073113,32405,596532,364740,436195,1120509,1080117,440084,1070787,56698,1245243941,166888,471293,457937,693824,577736,319688,721243,1357679980,1095610,259218,475611,437292,592409,80253,631720,34606,205379008,231775441,520771,1958360155,228785,523234,746966,205952,550828,598885,235258,1120611,270605,359151,1066403,322875696,1067775,39459,110655,769647,1064540,308062,763516,734780562,69395,174296,490913,355704,46011,44968443,691016,245186,173369,445568,69509,297963,152592,484508,605726,217843,420599,1115956,64876,45555,391115,550832,56808,724493158,75732,232572,205486,631561,1121028,535531,163299,198737,1413147283,1052275,520286,437211,1125478,212147,1091450,759081,1077813,81083,207441,454808,61084,81899,392213,1107997,1059522,404369,749844,428025,165808,248714,469172,472079,203312,444931,1066183,57668,23383,1536185977,1450424506,393211,64886,758907,77845,491222,200097,420651,56339,106218,967427,307982,201459,308097,640924,728028,1117309,65471,1042116,216042,43757445,211329,980244,329469,1900475865,1773705594,370234,935658,158285,1363062011,408577,1118627,325010,605014,62083,1092312,451046,91714,1134290,364441,554278,213034,950585,180433391,766398,45540,1064544,1690435631,68542,409523,281346,1021031,506633,204968,396913635,411271,966826,872022047,135448,502066,534106,1592659718,1920257122,205577,432417,317834,596631,414838,478753,1126360,298656,367640,38322,1237559428,405528,1083957,1008349,436483,612002,415910,303956,562334,218185,90772,339836,283112,591132,774702,443505,212096,710338,771578,240166,866779,49645,215880,200086,448632,212149,1069194,97759,370817,474216,196247,230558,1093561,862712327,405268547,454457,85813,177343,2049298924,1972221253,800444487,233688,77856,1852900292,68364,332151,309037,1113626,512629713,63584,493497,1071265,1114486,203324,462341,58795,508139,607271,1486637526,1046042,64824,348901,232570,743383453,77963,1062899,390939,1116832,946540,1078173,307988,245016616,1058739,399177,397627,981504,366672,647295,1062890,154478,1043216,467580,366301,31819,210316054,432282,1027798,1067788,478882,588524,374934,1768790524,220942,622479534,45407,1085860,391970,1605721389,70935,731279,1394581202,230656,124468,456553,61099,992340,1003201,998168,1013197,498632,437206,998445,669589,45552,1090597981,1110550,998695,97760,1017629,1104184,217849,1126198,224328,1110011,506367,919496320,1020460,298177,408120,964464,1007130710,1107996,868763,696227,301254,1011705,1221446112,546999,362399,315428042,123441,1020544,518157,80231,644360,233947,236141,405994,1215340193,1080277,269845,2142124776,466415,1057826,46405,1113139,355142,601556,250744,605743,572444,581556220,447659,428526,624060,1107802,416478,189310,473363,534702,531881,56566,1122739,624689415,363253609,437213,591430,166133,976522,686188,1025007,207439,1007359,233438857,176475,185793,206144,1066174,248720,390981,1086614,464345,123286,1088216,95474,179123,334692,1049909,98529,772609,1080258,690194063,1599646430,194481,79948,1043645,707146,1085785,998707,1847653631,1120625,104037,158200,252413,44700,78391,709460,589394,1818389853,376427,170221455,952540,313450,1161360422,207661,688074889,593173,314597180,1072687,258098,480431,51414,1105438,655926,179132,762575,880195617,998401,82082,133848,553953,1067998,590205,767062,761431943,437205,50691,1104187,51117,645382,84986,508141,747871,950775,335842,1043646,1134293,1914586998,337159,586831,1067460,248724,950357,154504,1118629,428832,80234,1776462746,497038,1027800,920780689,379532,465198,466420,360689,68365,1116619,1066879,585673,273565,261849,91324,69582,484507,1340902785,160591,1107998,1093990,325774,1006343,977439,158280,286452,1007000,1120175,1115704,446652,358851,51424,303757,393056,534891,771649,1885534758,85849,98513,158230,677200,158255,437199,1060498,1085159,570642,688969,1115313,1102497,243600,1113465,766913,998198,409612,726131,1066180,307951,718329,1075401,62628,61986,1043630,1135690,1791233506,870369877,1049566,341914,1105290,1557456854,36848,43256,85197,444970,1030666,945581,190510,705169,984408,197572,1094243,746764,466455,998470,679239,968371,1005849,1049907,1049911,1248010438,1109634,1659378107,38408724,75363,224529,437210,57928,170326,281344,1115074985,75350,1040270,149889,360219,213030,1091064,181203,568779804,81901,564073,56777,1062438890,598592,768558,765249,1391630808,612006,120485,403237,313406836,1070333,420285,1027797,465284,447208,248994319,762407,92463,222692,50559,387902,604420,803316,1100046,1049908,1078544,746965,1015406,1071348,155891,419375,203327,132236874,1117310,1131974,986554,1071264,967388,48637,261536,75364,130646,471295,64885,73704,447263,250968,1027654,468435,64887,1823739640,1009269,1089118,764106,972571,1085589,250913,1104158,268941,598021,1082530,612007,1072684,270100816,283010,1452237512,1125376,2101866437,1067780,463553,407589,322406,234615,925681,1057081,56796,741179159,377535,60706,361668,434631,339440,39454,1071487431,1001501,297354,63006,605013,1054737,761080,1076821,773965,393702,22103,38966,627800,298669,412484,518143,97761,1054838,1045738,1126195,967392,191316,935797,971812428,232686,158203,525462559,56668,1113371,956699,308118,694726,1586040504,1078442,444774,1079595,438156,755505,386317,1229557835,1101028,766006,297317,1886362006,64889,56795,340082,482194,47265682,69385,1024828,543948,1122306,685834,674004,690750,1080281,234516,86369,768574,420016876,603059,670272,471296,422227357,171292,69039,834959,630001,45408,592500,224915,470674,224327,982591,229645,468221,167757,693822,664120,1077147,312287,1113336,577704,403743,282915,381054,499982,726459,158942,555740,1059970,545557,86779,408265,308026,1034772,1076802,968079,1061934,471294,15402264,158232,132202,59441,1970062257,192310,277113,967364,338451,1046040,470223,91325,313460,1078545,1043296,261495,968317,266599,1104692,165429,222694,442174,84507,435532,459923,372817,55590,1058130,994379,968271,308123,279389,245189,1687582248,322243,84645,1821991268,920003493,466656,163290,229884,1104185,400692,221353,80216,909336,996346,48583,82093,806125,69266,955567,43872,348999,1085554,211280,561791,606736,545015,718537,718749,45629,321888,307421,629374,614916,177975,536868,62145,114707,601542,550841,397815,561584934,214206,691289,1050294,305600,601545,503476,232539,248726,307739,202755,68042,248710,449978,1066636,528008,203376,65338,332892,1105382,1042939,45904,1105439,648086,1068002,447331,1070421,237792,1108125,173860173,900049,2096102535,998703,667471,535470,200402,766463,453539,1003754,967468,258149,1004430,1719014948,765005032,648069,1036489,621546,267605,161412,213352759,358844,626905,21637792,704576193,31805,599947,69233,161525,746634,86806,411433,245192,1815279192,21677,395073280,1077362,234618,82090,1067906,590902,1100182,336207093,199376,311911,1071783,275938785,729447,1017952291,233853,1061272,85882,68810,1041113,37181,327852,765439,67965,78312,1734046611,217702,450957,177862,1070425,182339,150836,193988,348094,1087564,40464,589494,309711,599009,643738,178855,1104105,1242069450,63638,158286,86906,1088195,1127651,995838,975552,587790,500511,968265,571999,1071927,69877,601571,967454,998711,308057,458433900,956292,248718,775688,612010,1986974981,462768752,223343,443194,73184,601561,227835,281408,454460,356843,415686,158262,84506,243355,446444,1571248116,1143329261,37326,213028,110564,1043317,77848,446019,403444,426602,691027,958779,308112,407267,62266,562066,472285,971824,1080067,411051,1044937,1066607,1082377,120408,131308,207991,150476,39446,953140,381212,1113537322,1117003,615053,534194,525729,97303,56878,261245,759057,391074,482195,2017452342,1120779,316037,1041884,1088377,438767,225653,461011,57855,176503,341968,1817371918,1058126,473623,1095278,1115949,697470,8597759,211373,64602,296555,215038,1016385869,1449661194,241127,1135391,1080483,233989,1115319,444955,971905359,1151492981,549945,253818,1120716,307958,182110,1095635,1044522,474214,1120741,246332258,316560,54155,1191011424,600179,919022,229026,1054637,656438,289955,1008747,525143,388098,1451200636,684916,370834,1058127,146213,96059,235199,1067269,1028114,69052,402913,1014769,368992153,182669521,774768844,1108127,40024,286453,1062968,178927,193795,56108,193993,391849,1043623,307981,248711,1028240,496204,217844,1936128790,245261,746967,255796,2124477485,81396,447197,397410,444054,1071251,523940,243752,474208,440003,1854202788,564447,216101,63689,1006770,354829,506317,562092,474209,49044,209868,380387,1115340,402163,602736,97156,36722,2097677121,1941683620,565839,478752,412091,250627,1067774,47174,438774,1017565,1090123,954041,600280,946538,335141,814828,236195,1003193,177543,252399,1181910060,29885,1102610,731289,190465,813920,1068002132,68038,155955,691017,226842,62994,172201,1105361,28633414,306526,526091,174181,218340,1055170,1020633,1063232,669520,618941,63634,1024200,248779359,1108003,177423,78759,94019,247881,600174,450690,124379,180973,250394,211272,672120,591920,83443,85881,63688,50941,167930,1095580,211327,1086817,1106597,1061935,188422,160585,1064536,1099788,385026,830516361,998699,508142,303546,1011648,1120517,579301,448092,84867,544698,1729247017,444537,239668,465242,786084084,1107559,1037828438,474200,562038,191309,569553,1344893314,331401,362776,191586,733442384,1058084,291343170,1075394,1129783,207768,499981,978482,360034017,231122,59431,97152,180995,62901,275186,1134307,88880161,160580,656441,1060475994,324966,351504,1135450,1121125,198151,677377,374832006,1547470675,161882,995833,456818,446132,1093469,216098,75361,479764,525953,411777,184155,511343,270135,515215,234061,1062455,64869,761700,337674,98518,481147,235257,471581,775249,402956,599023,163532,55826,56597,452610,690752,160589,251256,1072332,998692,500214,536654,811250659,369866,1066100,191201,703027,79537,1115461,245259,77829,407331,69389,984838,1055610,301408,1097456,196224,412033,531595,245187,213025,192755,1199288947,531829,608149,528932,1074038,67577,297529,44058,321697407,78191,1018264,435118,316677,90238,535369,516505,405319,125249,1770203212,968321,412736,1180167585,58010,1028478,921640,487782484,984847,296456,301407,56659,402792,284394,478810,447852,268173,966829,250190,551971,943411,1005850,64130,72478,677332,175654,458690,48165,1382682478,285612,397271,170171,1105363,1996500508,1107535,692884,587833,1627858256,74341,204952,490742,125793690,285393,890318027,532302,69609,232533,1099441,75453,1133157,1292620596,528986,232870,1047146,454459,611996,397195,575090773,564129,470318,335649,148086,176613,370820,477531,1104696,37176,2081969697,23790,154503,199834420,82078,479860,1136809,742942,368613060,949361148,397074,1120177,1913513293,447196,1126456166,278212,1116500,27973,326806,442482,830935,900028,604817,581297,1068307,532158,388844,358322,635175,372630,69700,605721,1090173,227467,187896,1293974617,900023,604051395,285619,407754,766464,1120178,226165,398620,1123361,68077,433188,1092518,66885,166073690,1120714,110783,1057828,24098,90240,339839,69387,308095,232579,1022256,276634,127892,1515866844,232517,390919,248719,45550,343496,232541,697467,989132,491231,1282257580,44378218,1017636,56662,997679,252388,36818,1017940,586833,223838,1317727816,83943,1856519400,403330,521863,764994,366657,1131228,71529,547585,765248,1117964,46769,163123,1393540441,46127,44699,266101,1008735,1537421731,378425,68238,719705,40856,1065436,320654,444538,443021,1193071637,151458,79931,329537,21312,393816,308090,241042,207606,426495,385060,468543,1644065509,1125764,1957420942,502351,315062,325632,297518,450217,530836,194497,264381,598892,392953,684915,110340,768094,963607,299551,69120,717993,1071262,80901,768584,297517,1069714,1054677,228856,226812,1023482,970627,367546,269887,528829,223274,213042,1154824447,86909,626637,628717,54026,975067,84889,602996,215872,1030174,62138,75525,384642,423883,609446,275125408,1126296,218957,275980,473657,592464,667782,364144,737043,179658,1027670,876413,435442,978478,367909,341903,1640741498,200400,538033,1017488,1701971088,1027799,450452,200407,1052833,27970,1078698,1053725,66298,441325761,45642,153345,421496,602699,275851,165828,268819,725879,616080,516548,1227957470,342775,214514,172265,956680,171317,44001,1016424,1126197,886061020,542379,135995,1085783,457285,458796,535026,44042,272503,570182,943669,1037626,2077310164,153912,232707,639645,1044361,470224,660333,1067756,1109809,988336,90069,888455615,121446,432041,967925,684914,1118372,104253,353777,1755283919,1102931,64873,414287,836539658,1407782447,229816,998444,649070,70194,154954,601570,458793,160606,361540086,623657795,479734,635666,307948,726665,374747,2031614388,1329755771,682607,204160,635738,967390,599161,644115,243354,439194,363554,443216,299593,2064179428,293488913,1837194960,1042648,34026,325795,691886,366636,39442,177002,351852,223377,194202,735287,772928712,1105305,961084,758071,1055679,725227,715115,414169,1061093,438352,677202,69444,1416955235,575748,1095568,968373,1034711,46746,144568,340631,179127,236455,1061933,98358,998694,693823,468502,1007003,183554,351101470,361892,327631,268935,1066464,1067734,403263,43240,513145,445901,80865,54173,483358119,1010437,1061455461,347095,90235,357722,723410,44688,708773,435234,307437,1117551,1087712,611997,307960,459404,1027796,1891309860,618236,1666190226,1113367,946336640,58625,387028,411047,71438,201033,1274851130,313775,1647808240,966463864,610204,1043621,253767,967395,433608,658042,1030088444,913407,864227575,435545,216776,656394,753985,664246,199334,308142,1062897,1109759,402923,563282,578534,1035445,1082048,40612,1088031,421173,639626,466835,1082042,447654,998704,172845,215037,284349,988630,667542,149929,1001874,435457,1888903523,439196,373256,479893,394869,446338,217074,316027,33197,261848,1992340058,302229,82070,212146,485063,998706,436431,1015180,513096,93329,215694,590316,1098469,1120173,1043386,186395,271412,595915,649826,660416,254079,209861,2029024544,354195,1039063,222549,833132738,504110,73926,406169,1135954,301402,142863,620857,392704,354869,708565,148885,618054,1065283,678003,1067735,213038,273656,1060722,520186,258079,967389,64880,213029,72835,1040497,105099,508140,961742300,309404,968319,308113,211894,57303,497141,413603,374430,448053,158254,340145,461893,315936,731274,1165749043,663045,162622,972567,1065801,636132,433226,1056531,387597680,572316,1104188,507980,1117454,1016356,969705,510531,711895,89989,252418,572654,443501,42411,290791,392347,998076,567718,1561000036,1923935006,405346,81099,142862,95864303,710137,813869,1080073,598582,261237,1126297,144571,91514,171423,193605319,272045,1043210,1739534245,485066,645379,158246,1207562388,437204,669540,68361,356886,76326,316263,452903,1299224764,42716,45576,427271,69655,562499,198175,97993840,336265,440373,1059999,1067737,111321,719528,60740,803375,61997,1704636347,60508,450547,181206,288837,532521,483028,1048969,521281,331411,1097124,529682,678664,852077614,384559,500564,670463,404306,729801,1128825,211326,389744,533070,933181,641997,366268,1045396405,194486,284423,370210,287837136,40277,32109,56783,1105289,1074723,153043,604308,1110440,68050,79932,434406,908498418,972566,256256,250902,1055350,952420,1070669,355343,702590205,424210,553328,68366,1010859,65250,35753,641999,1082609,494199,521070,391117,466258,229381,160562,599050,325140,215479,1596191850,1028717,94879,198562,65348,714527,310865,498001,191202,50141,998705,645435,876414,297521,517135,195841,59333,161248,1111701,2009504557,90068,213036,297523,94103,647883,308143,1392021914,629291,755503,1117528,163213,1081430,993899,1774474181,267346,192313,1079819,684492,1046541,594354946,1061888,1136277,1040488,1368563710,172411,625514,331375,143103206,226451,479276,54494,185831,315175,422731,956288,975080,409610,66390,1857041731,475952,212097,1035249,524810,131225596,516288,545438,1082041,747016,500167,144454,616908,1041883,952423,641644,1080164,521015,1095670,69447,202911,158283,1127695,202698,343424,1106598,393725,200090,427242,676108,517287,232571,992141,699779,76872,308040,1086590,1067779,41370,1134846,257891,1878833813,248725,326396761,906138,50139,1059113,1056498,479859,504372,190506,1118239,410615,488767,977028,1106545,40865,234714,697913,607274,1040762,542459,57670,83763,182105,731288,248707,616864,1104742,286021,55436,308041,87801,1099409,980393,561384,252419,1005007076,35901,390936,1011674,1042038,728193,474211,1001861,354242,412524,396279,371965,1022162,664706,489387,36641,724718,1053528520,447985,690023,337241,1965889750,218414,544627,1090358,714474,259220,307967,264500,1298923724,577981,935508,1085230,1117312,1085219218,1423056435,103369,248715,90237,232576,471377,174295,1131630,297530,201130212,590471,1019807,308132,1029326,452477,68824,669030939,784832,1067736,485481,293867,482605,405698231,1106077,1109666,1161931340,350217452,1733904333,1117968,1025113,1085037,748182702,761079,566025,279185,759028,2110190275,591685,276827,1046751,1077484,252129,398679,252662,966337,277110,412329,277124,1387706223,433730,249242,550909,1101841,379492494,1060003,746221,447414,555699,68045,998713,205578,178853,738675,163194,647512893,460235,535658,1011545,1095926,552173,1057829,474202,471292,353883,1949667088,471735,764991,216066,1252337727,1088705,555455,69614,158250,1104938,479823,291947,1108257,937470962,967466,1105991,1089888,755298401,313940,240765250,196246,342786571,297516,996727,1085552,68141,1618957219,1949526101,1112112,1158569095,138822,967921,492411,245258,1022419,28647,1106970,1011567,1057394,1022629,411510,165883,269897,279337,467064,1114475,414228,1898428682,509358,713330831,1058874,1078777,1057346,236162,1058734,1031982016,375150,746969,325607,165313,469410,307957,167367,1054827,1998554003,143544,251276,440907,2004513220,141072,1856473557,755583,297510,406846,994633,605728,308020,226059,94308,1106225,768569,303547,443499,223309,504348,1124099,414903,251202,234515,91735,147932,164366,329013,427241,513146,268595,233391,248712,578024,90239,37396,1129398,1826797698,458687,1935418217,301372,496791,771630,277305,1102503,1126189,1003876998,687821,952988,1041366,972065,1126190,1159518336,380540,531330,431114,561922,649723,1068005,76692,59806,152369,691020,1702122762,69019,1065421,425385,738962,196110,207483,457938,312191,388097,1101479,997911,657171375,1065572,293229,474267,697468,438197,967469,1080085,537297,1064542,1114812,1131493,447416,57669,1018328,1121790,972120,137593,300550,723599,44146,374711,401582,1113369,1080878,404084274,1133586,1122339,959788,191518,1069327,65472,69622,736251,958526,1120857,368272,41390,629997,27000,397192,1008532,193531,283414,998200,579187,592326,431780,1089092,177968,1129785,1134278,307966,363853,725007,727645770,132992,270587,82958,959361365,1427209384,1042650,1125173,287987,998225,771562,513712,502989,424341270,1113368,60741,1004083235,550146,1101505,90236,353222,508143,738436,769724,1654323024,457935,1009812,998464,768576,1668912860,1007005,440413,728027,1071259,537679,553178,435512,227462,1082043,33973,311923,769679,1075571,443374,1028113,2077866630,28006,88808,605015,60703,401479,1103036,990173,1071280,337149,961787802,41369,50142,461983,410878,299554,1103534,1100369,1118561,212099,400583,288425,88402,591719,1058877,1120168,498000,1746171877,231776229,194204,404820,432398,1043211,1122466,64282,696192,57227,471334,196243,269696,503182,403227,609787415,363778,998701,702258,1383674192,514807010,528813,1043620,830913,163085,1079785,297526,485065,1098441,154699,72591,1030887,976705,626801,1041379,62385,283922,536234,976547,67962,346466,605012,1001495,1071256,610639,297390,992553,346376,253723,99006,69390,521505,447209,41387,1129401,179125,1060005,1054289919,44118,345171,35054,57105,2005715434,586068,1041011,405232,456817,1611504129,322307,953911,471516,174759,1076576,1088805,537712,44115,333677,303551,1900066064,434628,436999174,240326,990179,46768,365735,200243,54663,101218,1445893751,191259,447657,194494,56541,1094159,658145,331300491,1065435,160584,561226,270610,61934,124068751,610292,1113783,50127,75059,45560,457260,1038663,458673,597691,656041,194205,447658,92993,188425,1679529299,707336,1108004,404323,697469,1031676,256450,407530,749073,419112,579736,88345,1042063,356674,1007004,436198,1078665,512431,1380569954,998690,960480974,755418,342085,73515,277156,474210,1524964354,550842,1054966,225047,355809,1370981603,315958,362225,639657,150259,1066881696,27971,1109821,1113383,641995,407758,1120781,335550,63986880,33195,45577,149982,507760,1123195,967928,1040660,150276906,1020627,268447,49567,430608,307952,27930,1098223,432579,186563,453293,1002422713,342807,69392,428059,1043564,196244,232532,177322,1047209,233687,566838,1025416,694103,1082594,410046,1117721,821692,972073,156582,1100652,73139,301838111,1059633,277149,719911,593661,33605,753661,308096,379547,63577,64877,357582,338080,1034304,272068988,629185318,376514,435720245,1076788,340788,1046041,1056302,778347,56619,447417,270850,232868,950724,90244,1930406611,267893,1094242,230387,3794033,33963,738295,589312,848385000,196245,84512,447752,158228,231134,1110332,984518,436785,404833,308007,232577,620047,509497,206199,155596,70939,381110,648074,1961698410,1604944111,50380,411065,754486530,192308,455177,153884,1064541,427243,694763,443872,258462,563226,471376,337782,70530,411608,479984,52326,73059,597692,142856,207438,712530,595995,438191,960399,529108,232538,1479557939,693350101,215033,1013119,996347,968296,466432,200114,1078881,192035,604370,1023157,56660,102889,631925,27977,1097243,49624,93042,298162,766902,1068715,266647,410042,214628,967425,968318,1053549,202430,148535,73288,1653257700,412366124,447389,609435,701450,62384,451912,445041,888940157,50255,213026,266281,426257,232869,41523,64881,967394,191482,989917,1131962,1057350,196234,404595,1113385,1000791,1115963,1044232,714670,1018298,930329,139524,388126,412250,370116,409516,805947,289813472,29070,1028112,171802,61100,1093386,518115,799197,948609,1088087,92761,56087,466052998,1008749,16126439,92766,813932,430610,223260,1006955,737224,1072891606,580725,491208,437212,242840,85865,449762,1073464,92475,663193,1047165,1470748918,64590,386902,235202,64884,2129736541,1117054,439286,64878,386911,94785,466612,676075,199028,738561,191484,685065,90234,718549,1047918843,578119,560082,131056,690103,641877,215122,426383,83138,1006999,643225411,475623,1100183,956002,363268,471339,1078804,308019,444141,750955,1113376,622837060,420874,728001,722933,75389,233067550,591154,95473,250992,316632,158257,387895,1072315,35053,440712,1084318,1048220,759612,450041,947086,162965,474201,477475,462361,1055938,386226722,227306,86782,431563,466869,38248,665942,181617,268205,63630,462212,486841,797999355,171900,900027,212098,1051094,1083221,609422,1013669,201666,2029832161,27976,1090982,1073968,726932,1105310,454226,1032041,666951,322355457,212007,474212,1371946458,420547,1029216,304109,641994,1067782,84949,82071,249513,1055689,295807006,362270,656398,165147,64879,371278,297528,454704,1007001,1127402442,198190,760612,447995,1120174,1082047,301404,505545,239332,43241,81881,967444,194490,450913,1200313056,346353384,414581,726637,170622029,1083297,96447,188423,199326,368238,591865,764992,601564,1106936,225652,494639,683660,343210,415680,359857640,1040364,256460,307313,1040763,866091,336262,83769,599092,781660,405403198,1488915087,138133,193686,1056539,467749,1106596,656442,2013538714,693821,828030,680539,366283,323534,1089390,1068004,1134312,691946,525408,393205,1100798359,421680,456954,535865,1049686,1076784,1082147,580873,484509,1004364,473895,1049910,1117455,1067777,518678,1053552,550128,158330,75562,1055227,810678,892425292,409501,583509,66380,47068,245193,1123020,972565,656388,733346,1129507,976513,629377,363379491,1121748,1129505,21138,88793,752066,382789074,352189,1058359,537662,310861,562415,1135546,130799,308128,60708,297508,2096101065,431371,415626,439205,1590786016,377065652,514992076,156337,1118560,35173,717198,369665,1114885,154949,297386,629819,510556,86177,592190,76640,337460,1090973,301512,255336,711055,1129372,447878,86911,428528,1695662865,1012480,80233,1102994,831012,1521534031,1090462,780387,1067065,218186,1057712,1069947,165377,158279,308141,1613030022,1066910,1071261,68075,1043625,1094021,332548,1067790,707933803,70662,75838,431830,593176,1411198287,190020,297512,1061028,429441,1086627,691014,579564464,892607,1095636,714305748,4622225,967259,194203,525652,2021562140,1166597868,451305,113012190,300749,520812,1045039,338588,76138,1017129686,167849,591442,535029,682538,73965,1475007721,392132,967443,757660,248721,407586,999561,1040441,81831,1011706,563658,297524,550173765,73929,27968,92992,51058,47247,966828,966827,42482,171652,412177,669395,70746,403416,89092,69182,410381,771560,252389,1027736,344030,228826,152639,75783,297520,558510,150267,612360227,1899125085,354985,143691,1048648,179754,690174,123373,621957,307639,1136059,612004,222088,24282,78335,986449,392385,248722,251785,402937,507695,599312,1043627,401173,1036659,26932,1918748835,68044,176091,1049565,413802709,1029259,767105,757072,307955,244432,83433,618537,437214,919517296,409500,1126424,411873,749081244,728164,303548,1040505,834183431,358824,53945,590046,160594,821707,918254,66185,87490605,656443,535815,1080554,193780,737176,402919,216803,56661,428527,694863,67833,768588,1326392965,301406,254500,1134847,56784,1072865,1066176,678701,367852,589400,443024,588523,264820,666296,774720,723414,1980402339,988605,363347,943075,225575,1072547,95570,297514,80129,838606,308500,2017087839,427196,956750,123180588,495337,293144687,777124677,248716,49229,998717,253793014,641996,819831837,64866,69534,405524,232781,988601,546539597,196248,297389,588526,1068006,1117969,217846,521873,1142867544,60805,1126192,579184,142861,600163,336310,362775,207469,468723,333669,477607,43434,1122109,314746710,458767,75835,308048,1067791,1294262039,1737985276,183538,273662,213037,207805221,775624,329564,1721439896,378311,481682,217062,1013299,307950,255496379,1088237,967387,293135,172260,486289,1048941,1021738,1100184,63017,811341738,1126294,104641396,1034009,447656,968239,224674,1137320648,179124,63632,1777026721,1053029,329440,692685,339780247,1011559,680474006,69391,55358,1026907,149904,586174,911912,432773,16923429,390997,656395,1011222,1050236534,574551430,1625448907,397787,677203,446023,317283,513135,789100036,275188,295398,217585,61879,97897,213032,57681,448779,96202,587125,1120630,351607,214529233,600227,425855,746968,285878,509685,599975,82087,1118234,598910,227460,255028,597205925,707748,960165,1134291,316728,1100657,325625,308133,961480,69652,1116926,347076542,679333664,599032,97664,42582,213040,38345,63635,72962,1042114,33820,275849,21282,228794,62246,275891,50405,316182,47246,558625,698007,968297,497150,255007,50782,1065823,202776,1028453,1060539,1120534,1043631,210084,9870284,186355,998697,602019,227274,434655,1113524,532164,687861,968320,1067252875,900029,1113147,1112024,56587,275848,474357,73554,253773,972395,81097,51057,724009,192157,39438,2013837292,447415,806224,594674,1086813,1062902,200412,77854,1094912039,590415,387537,58893,61123,228273,164240,455349,458629,232114,617319609,2138389585,437209,412139,588666613,64874,232534,74282,290946,1066993,267032,421675,631997462,82957,771564,232530,252037,213372,612020,558745,427286,952421,1085784,966840,408255,843844,445465,1069358,91947,1913992655,203570,21340,1428214758,524975993,74889,29435,1129899,85830,1124669,64748,152377,86165,66250,354701,97158,166717,158271,28523,919276,280779,11736770,339737,1085781,1050976,307959,1067793,275042,1088811,434175,68040,592261,1136447,258907,303550,742950,1080506,1812645296,1011268,165104,243336,612005,564069,1130652,513134,1744137939,421612,1093471,1121144,316349,35541,392487,171645,88859,555452,62630,437201,1003659,339850,410736,198248,637882,372820,1474792212,232573,1099958,1104153,1105473,1587882889,1013477,1095648,254509,219774,257895,738819,253462,1179217415,451902,60704,137244,213031,176734,161847,664100,2021073515,930137905,1017487,592716,75357,684491,1520271651,1013747,255314,656448,2054161037,1113137,76349,63285,224455,296121,306021,967426,775282,79933,1054731,64882,142858,400610,2041203662,1900331897,998043,1978269927,297387,412557,621281,1079863,1260932289,217739,66389,50256,585143,191493,97856,193451,984296,58110,305601,1105469,589396,1011267,2123458234,200974,1070676,471378,275041,1107310491,1121076,238426,1256437034,244576,1026042,607270,1116928,482749,583042,27986,266387,308018,177328,599063,172171,358843,291818993,972568,1306190261,784560,1257190405,345188,391241,194479,422653,449252,720348,1029091,1060540,308001,1061705,1128222,1113380,65298,956780,399580,1117441,1114833,830981,161522,280178,305602,1415945943,308147,75749,458782,642478,1089202,1076993,1122624638,471291,986469,437200,987383,1780189509,425773,543990,190502,1071276,541947,1066543,230416,61180,280182,481146,68047,1135390,704083,415251,1207080428,419377,197754,761068,1165958800,76327,1100777,175928,656006062,254117,1052221,988380,458792,324512,72863,537723,371737267,605719,35171,730780,458795,649720,85194,196743,477806,1071258,385174,81903,1072864,508216100,1077340,464533,208423386,1107518,203333,468006,952610,1056347,2078307998,1522958454,2090238740,162252,171320,598768,203705,200100,144101,1080276,1057159,1100472,347065,232569,1128188,537720,84462771,190412,1092038,316030,525437,199324,734763,332754,1997925590,51231,1716371047,599024,605016,1044736,337741,1964815161,101112,296154,658957,762099,1068876,218246,40275,571286,769680,494096,383631,383202,780200873,20167853,1110331,414400,697484,984230,56841,172272,997807,436477,1568093370,172203,68500,1043581,966857,1134263,1135376,139436,224520,84849,352625,84124,725022,1862259835,429105,43257,1117749,726619,448587,397169,403932,285592,96203,444630,120450,443874,988378,97898,209988,1113373,1054765,2097161319,691019,952899,966710,532829,381009,1044445,192455,41526,459453072,339509676,996549,70936,158234,730963,977658,1113504,826361128,183552,191339,472526,403288,689429,308490,764993,252391,84498,1281445289,79935,1126196,362081,454458,1069789,211968,1890063455,386976,584684,482710,1883919122,525385,1090966,1021778,96206,1088801,887906776,484506,257511,186528,1183876889,57060,1021276,998077,950138,72347,478891,226831,307954,298613,2119828921,731081,495651,398731,177353,564071,560292,542946,201464,393997,262465154,766409,379550,67034,1106202,252417,63856,433244,468503,414609,30219806,446451,308140,61124,1124484,1064538,68046,710447,307972,961571,781828,33400,21309,21308,1071274,635725,1048320,840274389,1339069133,830004,439991,245190,2034078540,1677287779,976511,493187,307949,317147985,161838,375058,458763,1103143,81900,1000208,714379,539756,759852,684073,1020634,656435,1065438,595368,589996,229165,483626,535100,102826,1085042,673697,625295,339729,174394,268180,432791,893215069,527882,2066149486,1109773,62002,501752,1020542,64875,720305,264103120,579737,70902,45549,2124284752,457978,1485544931,593178,1088715,227250,401033,391092,1455331571,998718,1120605,394860,1731665593,1225444284,1030636,25360,213039,1098431,84119,980420,746243662,558433,584152,727965,347728,516286,63031,83058,479264,424779,232519,435772,105576,513481,1099787,652536,202427,572435,414388,1127007,1865826578,172370556,436211,229351220,600772,458084,1113148,1102495,968267,57975,1126364,573317198,972536,177541,614989,1696485354,509599,478072,43353,431342,771631,414623,249490,1113370,612421395,68043,418481,69128,239641,1293847344,669343,1272462430,393872,758727,766854294,616939,878588,432878,1070682,158266,35321,297096840,624517,409920,96207,456773,278282,1050522,1928800399,64871,1064537,738818,409167,1073759,72939,229646,697589,508785,1095572,1153226015,2058031292,1037121,175659,308541,474604,434060,472801,160587,398561,1061397,308031,507622,162551631,1530708536,54573,704094,425574602,473897,171837,438418,692729,1028609,259918,1505712686,437198,148097,879100700,1103988,678278,377006,913979,1775489326,315190,63697,535360,176057,258461,1120814,351820,303554,1125392,998397,1065570,723244,1044579,54723,158272,222037,521316,190458,989737,209872,601540,160362,461508,63652,790934905,1067752,644508,38915,207468,655941,251270,549031606,407525,83770,465201,161853,767338,439767,1040752,1117531,464530,68441,401156,892956969,325665,1092789,559528374,429408823,555460,167768,993004,177973,966834,554282,987387,470221,82959,227726,237646,1042861,207620,64883,38090,742366,1117741,706778,612019,308085,691932,593411786,215618,1020504,423416,132153,446428,26861,159766,758915,415509,1799523283,64867,551241,631565,1088197,546200,1048045,1818347303,767103,496897,327518,397274,80425,307965,1506682859,142369675,615201,1375409571,440753,627459,165834,60967,472147,1100180,1061936,1082485,62645,135515,1043214,486493,409511,1098228,967393,383596,1086717,252599,662941,629369,1129500,96204,198663,253714,451955,821679,521780,458575,257501,261308,1028476,681165,1067738,530567,404301,251184,69506,1063175976,237822,406462,252390,738426,403325,414293,1095681,366021,642077,297511,269024,1264586373,1070369,421071,602011,379551,642139,995695,1100587,1055776,383270,1093929,455030474,1134279,82076,355151,307956,1072049,1125452,796200041,1059469,459325,64009,1080131,611998,156414,296607,855161,522674,1055425,1099775,677211,999158,58078,768657,1100642,177964,683369,554143651,25180,36692,968298,174764,87550,106693,599027,1072065,966819,968372,479283,61184,452451,509357,1262065957,1075622395,260456,1085429,71982,1079347,213041,403019,968147,1102537,1115009,29519,217398,1331021595,170443,245191,626692,446821,1086859,116154,312809405,1091013,406546,55440,336539,54509,259415,476175,27801,233685,749877,518158,217732,161407,437136,578456,821787,612585,45655,224232,758770,252164,995902,668171,1423110720,203888,1126191,390246,600880,41886,1661611310,1105378,56827,62977,61085,207472,70979,127646386,68076,1342104725,1060434,225620444,378325,964110257,1090908337,603062,60705,245194,162999,276642,534425,990159,1074099,767478,275878,1092018,998201,69507,661846,275702,1057827,301409,1100507,768573,389878,276797,15124778,406538,273378137,75233,1055315,926787,891423409,1997361359,122306,656391,255074,1637867681,308053,485064,426256,190462,998691,695301608,81098,448581,950658,389284,166366,194886,69816,248697,202428,1042899,561340,1107012,158322,690754,972819,448585,213043,446171,276593405,571868); + + END IF; + END $$; + +alter table tracks enable trigger on_track; +alter table tracks enable trigger trg_tracks; +COMMIT; \ No newline at end of file