Colin Watson has proposed merging 
lp:~cjwatson/launchpad/db-package-cache-drop-changelog-fti into 
lp:launchpad/db-devel.

Commit message:
Drop DistributionSourcePackageCache.changelog from fti.

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~cjwatson/launchpad/db-package-cache-drop-changelog-fti/+merge/295610

Drop DistributionSourcePackageCache.changelog from fti.

https://code.launchpad.net/~cjwatson/launchpad/package-cache-drop-changelog-fti-test/+merge/295609
 will need to be merged first, but only affects tests so it doesn't need to be 
on production.
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of 
lp:~cjwatson/launchpad/db-package-cache-drop-changelog-fti into 
lp:launchpad/db-devel.
=== added file 'database/schema/patch-2209-78-0.sql'
--- database/schema/patch-2209-78-0.sql	1970-01-01 00:00:00 +0000
+++ database/schema/patch-2209-78-0.sql	2016-05-24 17:16:40 +0000
@@ -0,0 +1,13 @@
+-- Copyright 2016 Canonical Ltd.  This software is licensed under the
+-- GNU Affero General Public License version 3 (see the file LICENSE).
+
+SET client_min_messages=ERROR;
+
+DROP TRIGGER IF EXISTS tsvectorupdate ON distributionsourcepackagecache;
+
+CREATE TRIGGER tsvectorupdate
+    BEFORE INSERT OR UPDATE ON distributionsourcepackagecache
+    FOR EACH ROW
+    EXECUTE PROCEDURE ts2.ftiupdate('name', 'a', 'binpkgnames', 'b', 'binpkgsummaries', 'c', 'binpkgdescriptions', 'd');
+
+INSERT INTO LaunchpadDatabaseRevision VALUES (2209, 78, 0);

_______________________________________________
Mailing list: https://launchpad.net/~launchpad-reviewers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~launchpad-reviewers
More help   : https://help.launchpad.net/ListHelp

Reply via email to