This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, master has been updated
       via  6c3bf77298b1f5f5b8b0b1da69c7908191dd385b (commit)
      from  864f95b8b0706c113e002c9b9e29c353979cf0eb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=6c3bf77298b1f5f5b8b0b1da69c7908191dd385b

commit 6c3bf77298b1f5f5b8b0b1da69c7908191dd385b
Author: Roland Mas <[email protected]>
Date:   Wed May 4 15:16:04 2016 +0200

    Trigger reindex on update/delete to project tags

diff --git a/src/db/20160504-fti-trigger-for-project-tags.sql 
b/src/db/20160504-fti-trigger-for-project-tags.sql
new file mode 100644
index 0000000..a0acc4e
--- /dev/null
+++ b/src/db/20160504-fti-trigger-for-project-tags.sql
@@ -0,0 +1,5 @@
+DROP TRIGGER IF EXISTS project_tags_ts_update ON project_tags;
+CREATE TRIGGER project_tags_ts_update AFTER INSERT OR DELETE OR UPDATE ON 
project_tags FOR EACH ROW EXECUTE PROCEDURE update_vectors('groups');
+
+-- Rebuild all indices
+SELECT rebuild_fti_indices();

-----------------------------------------------------------------------

Summary of changes:
 src/db/20160504-fti-trigger-for-project-tags.sql | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 src/db/20160504-fti-trigger-for-project-tags.sql


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to