~launchpad-pqm/launchpad/devel

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
SET client_min_messages=ERROR;

ALTER TABLE LibraryFileAlias
 ALTER COLUMN content DROP NOT NULL;

UPDATE LibraryFileAlias SET content=NULL
FROM LibraryFileContent
WHERE LibraryFileAlias.content = LibraryFileContent.id
    AND deleted IS TRUE;

ALTER TABLE LibraryFileContent
 DROP COLUMN datemirrored,
 DROP COLUMN deleted;

INSERT INTO LaunchpadDatabaseRevision VALUES (2207, 15, 0);