class OneTime::RestoreDeletedProjectsJob < ApplicationJob
  queue_as :default
  BAD_IDS = [ 4245, 2327, 5671, 2, 5816, 5237, 4102, 3620, 2890, 3204, 3272, 2096, 3747, 2100, 2330, 4045, 4557, 4629, 3276, 3368, 2122, 3250, 2102, 1850, 1571, 2108, 2334, 3790, 5946, 2744, 2476, 2745, 3736, 5710, 3479, 3714, 1221, 5787, 2896, 2640, 3284, 1819, 5674, 1251, 2104, 2641, 1822, 193, 3212, 2647, 3927, 2656, 4559, 2001, 3118, 2002, 3571, 2111, 4560, 4019, 4819, 2648, 2487, 444, 2754, 2008, 2494, 3309, 5192, 5913, 2654, 5121, 2768, 3382, 5196, 2758, 3120, 4158, 430, 3292, 2121, 3745, 2906, 3316, 4612, 2873, 5376, 5616, 5668, 3124, 5243, 1253, 2773, 2255, 2909, 3578, 2767, 3581, 3030, 3498, 558, 3654, 2667, 2258, 3922, 3144, 5661, 5873, 610, 4318, 943, 2671, 1491, 2775, 2915, 2136, 2261, 3191, 2776, 3387, 3260, 2137, 3388, 2263, 3136, 2370, 3390, 3439, 4124, 4022, 3138, 5519, 3139, 4583, 3336, 4321, 5484, 2269, 2922, 2680, 1945, 3298, 3857, 5700, 2683, 4323, 2924, 3751, 4224, 2684, 2786, 1404, 2042, 3247, 4324, 3160, 3343, 3586, 2689, 2789, 2037, 4409, 879, 3448, 2277, 3151, 3885, 1463, 2386, 5501, 3592, 3252, 3300, 3593, 3350, 3658, 2802, 2388, 1957, 2545, 3254, 3052, 981, 2392, 3171, 3157, 3364, 3661, 4251, 3711, 1960, 1740, 2939, 5144, 3365, 2399, 3057, 2940, 4026, 5892, 234, 5405, 1045, 2357, 2293, 147, 3806, 1180, 4017, 4485, 3265, 3063, 2948, 3173, 3266, 3463, 5561, 3065, 226, 2172, 2825, 3893, 2956, 1969, 3891, 3469, 1615, 2069, 3416, 3811, 2560, 1971, 3602, 3812, 1754, 2076, 2562, 1641, 5208, 3816, 322, 1829, 2071, 1974, 3181, 1999, 2072, 5658, 2307, 1652, 2074, 2568, 2075, 3500, 2078, 2077, 2185, 2965, 1714, 2079, 2423, 2836, 2404, 2188, 1764, 1978, 2189, 3079, 2840, 1799, 2082, 1800, 2971, 2192, 2083, 2730, 1666, 4096, 2845, 3830, 92, 5951, 3943, 1889, 3090, 2321, 3895, 2090, 2850, 2606, 20, 3762, 5944, 24, 2584, 37, 47, 36, 49, 109, 1382, 41, 64, 260, 54, 72, 2203, 77, 96, 97, 111, 121, 131, 2439, 4453, 1258, 151, 1781, 164, 3430, 1416, 177, 178, 1385, 1417, 189, 2440, 200, 185, 162, 1307, 19, 3764, 223, 359, 386, 1309, 246, 3099, 250, 1387, 283, 293, 1609, 302, 292, 321, 339, 340, 346, 347, 343, 352, 3825, 5974, 389, 403, 407, 392, 395, 186, 241, 1490, 421, 438, 401, 1265, 1444, 443, 449, 464, 1267, 1140, 488, 473, 2741, 4974, 502, 491, 499, 1445, 519, 503, 1471, 1525, 1567, 3827, 4897, 794, 4008, 527, 38, 1510, 1699, 1659, 5854, 1502, 1351, 552, 4488, 1472, 1394, 3563, 1400, 566, 1276, 574, 595, 598, 1320, 1556, 1558, 619, 648, 1629, 626, 627, 646, 1560, 1498, 1401, 1476, 666, 673, 5708, 2214, 3610, 695, 683, 706, 721, 726, 1411, 739, 629, 769, 784, 772, 1402, 4001, 4460, 2861, 776, 1432, 1672, 809, 1777, 1673, 817, 982, 816, 675, 815, 3566, 1468, 1503, 4492, 5718, 2617, 128, 833, 1908, 1436, 3357, 861, 850, 887, 1552, 1596, 2903, 895, 1603, 897, 949, 922, 928, 1590, 942, 984, 953, 955, 968, 975, 971, 1105, 865, 976, 3094, 996, 1370, 4163, 1375, 961, 1000, 1004, 1006, 1005, 1297, 1013, 1037, 1057, 4494, 1154, 3675, 1108, 1339, 1066, 1085, 1084, 1077, 1126, 1133, 1135, 1096, 1139, 1138, 3489, 1158, 1146, 1173, 1209, 2051, 1197, 1183, 1210, 1231, 1230, 2878, 1241, 1830, 2456, 1650, 2457, 2481, 2622, 1437, 1214, 1701, 3838, 1680, 4184, 962, 265, 1574, 1723, 1720, 2626, 903, 3685, 1782, 1774, 1787, 5159, 1863, 1484, 1852, 3871, 1855, 1891, 1899, 4228, 2887, 2652, 3534, 3815, 3884, 4413, 1755, 4561, 3859, 3913, 4166, 4107, 3908, 3645, 3176, 4868, 3713, 3670, 5088, 4344, 4564, 3909, 3971, 3420, 3882, 3892, 3956, 3776, 4421, 4516, 4525, 4420, 4527, 535, 4067, 4352, 4747, 5268, 4976, 4079, 5311, 789, 5312, 4728, 5313, 4385, 4363, 3785, 4159, 4547, 4173, 2526, 4191, 2884, 4800, 4696, 5182, 153, 4584, 2517, 4537, 4711, 5009, 4599, 1460, 4608, 1474, 4845, 4642, 3883, 4942, 4658, 4681, 5013, 4645, 4679, 2325, 4717, 4765, 5041, 5042, 3289, 4838, 4812, 4267, 4375, 4789, 2835, 2819, 5435, 5056, 4956, 317, 3523, 5300, 5456, 5222, 5297, 5224, 3007, 232, 4886, 3814, 5199, 1418, 4411, 2914, 4201, 2514, 104, 1, 1593, 437, 1548, 954, 3818, 4243, 4009, 4105, 3968, 3738, 4511, 4519, 4221, 2549, 4968, 3708, 4660, 4993, 229, 5434, 5337 ]

  def perform
    Project.with_deleted.where(is_deleted: true).where.not(id: BAD_IDS).update_all(is_deleted: false)
  end
end
