addons-server/migrations/443-debump-themes.sql

78 строки
696 B
SQL

UPDATE applications_versions
SET max = 533
WHERE max = 535 AND
version_id IN (SELECT max(id) FROM versions
WHERE addon_id IN (
104,
166,
275,
303,
695,
767,
779,
812,
816,
870,
1360,
4083,
5148,
6124,
6174,
6739,
6882,
6883,
7297,
7912,
8017,
8431,
8431,
8541,
8607,
9123,
11821,
12087,
12087,
12924,
13040,
13750,
14156,
14162,
49896,
59338,
60153,
76238,
79788,
79788,
92028,
162069,
162075,
213952,
214798,
234324,
234325,
234326,
235831,
271762,
291817,
300251,
320596,
321751,
333475,
348031,
349264,
355802,
366237,
162183,
292698,
293678,
294925,
295287,
296654,
300300,
311330,
328836,
358395,
368684,
376078)
group by addon_id);