~launchpad-pqm/launchpad/devel

7675.916.79 by Danilo Segan
Merge db-stable r9986.
1
-- Copyright 2010 Canonical Ltd.  This software is licensed under the
2
-- GNU Affero General Public License version 3 (see the file LICENSE).
3
7675.919.1 by Jeroen Vermeulen
Part of the rename (is_current to is_current_ubuntu). Still breaking tests.
4
SET client_min_messages=ERROR;
5
6
ALTER TABLE TranslationMessage
7
RENAME is_current TO is_current_ubuntu;
7675.919.2 by Jeroen Vermeulen
Intermediate commit.
8
ALTER TABLE TranslationMessage
9
RENAME is_imported TO is_current_upstream;
7675.919.1 by Jeroen Vermeulen
Part of the rename (is_current to is_current_ubuntu). Still breaking tests.
10
7675.916.79 by Danilo Segan
Merge db-stable r9986.
11
ALTER INDEX tm__potmsgset__language__shared__current__key
12
RENAME TO tm__potmsgset__language__shared__ubuntu__key;
13
14
ALTER INDEX tm__potmsgset__language__shared__imported__key
15
RENAME TO tm__potmsgset__language__shared__upstream__key;
16
17
ALTER INDEX tm__potmsgset__potemplate__language__diverged__current__idx
18
RENAME TO tm__potmsgset__template__language__diverged__ubuntu__key;
19
20
ALTER INDEX tm__potmsgset__potemplate__language__diverged__imported__idx
21
RENAME TO tm__potmsgset__template__language__diverged__upstream__key;
22
23
ALTER INDEX translationmessage__language__submitter__idx
24
RENAME TO tm__language__submitter__idx;
7675.919.8 by Jeroen Vermeulen
Rename indexes as well.
25
7675.916.80 by Jeroen Vermeulen
Recife schema patches reviewed.
26
ALTER TABLE TranslationImportQueueEntry
27
    RENAME COLUMN is_published TO by_maintainer;
28
7675.1005.1 by Henning Eggers
Added missing semicolon to db patch.
29
INSERT INTO LaunchpadDatabaseRevision VALUES (2208, 30, 0);
30