7675.758.1
by Jeroen Vermeulen
Suggestive translation templates cache. |
1 |
SET client_min_messages=ERROR; |
2 |
||
7675.758.4
by Jeroen Vermeulen
DB review fix. |
3 |
CREATE TABLE SuggestivePOTemplate(potemplate integer PRIMARY KEY); |
7675.758.1
by Jeroen Vermeulen
Suggestive translation templates cache. |
4 |
|
5 |
INSERT INTO SuggestivePOTemplate ( |
|
6 |
SELECT POTemplate.id |
|
7 |
FROM POTemplate |
|
8 |
LEFT JOIN DistroSeries ON DistroSeries.id = POTemplate.distroseries |
|
9 |
LEFT JOIN Distribution ON Distribution.id = DistroSeries.distribution |
|
10 |
LEFT JOIN ProductSeries ON ProductSeries.id = POTemplate.productseries |
|
11 |
LEFT JOIN Product ON Product.id = ProductSeries.product |
|
12 |
WHERE
|
|
13 |
POTemplate.iscurrent AND |
|
14 |
(Distribution.official_rosetta OR Product.official_rosetta) |
|
15 |
ORDER BY POTemplate.id |
|
16 |
);
|
|
17 |
||
7675.758.6
by Jeroen Vermeulen
Run from nightly.sh on production; update patch version update. |
18 |
INSERT INTO LaunchpadDatabaseRevision VALUES (2207, 74, 0); |