[Fusionforge-commits] FusionForge branch 6.0 updated. 6.0.4-18-g737f636

Franck Villaume nerville at libremir.placard.fr.eu.org
Fri Jun 24 10:25:55 CEST 2016


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, 6.0 has been updated
       via  737f636c28317f3ce034ef7a80f25dd29cc1ef22 (commit)
      from  e63278e27b60ee268529918f75da008569811ae5 (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=737f636c28317f3ce034ef7a80f25dd29cc1ef22

commit 737f636c28317f3ce034ef7a80f25dd29cc1ef22
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Fri Jun 24 10:25:49 2016 +0200

    fix [#819]: delete artifact with vote throw constraint violation

diff --git a/src/CHANGES b/src/CHANGES
index 1b5b287..b2561d5 100644
--- a/src/CHANGES
+++ b/src/CHANGES
@@ -1,5 +1,6 @@
 FusionForge 6.0.5:
 * Plugin SCM SVN: fix activity when SVN repository is private [#813] (TrivialDev)
+* Tracker: fix artifact deletion with votes [#819] (TrivialDev)
 
 FusionForge 6.0.4:
 * Account Management System: fix sysCreateUser for UNIX: unix_gid dropped (TrivialDev)
diff --git a/src/db/20160624-fix-vote-tracker-constraint.sql b/src/db/20160624-fix-vote-tracker-constraint.sql
new file mode 100644
index 0000000..db37276
--- /dev/null
+++ b/src/db/20160624-fix-vote-tracker-constraint.sql
@@ -0,0 +1,2 @@
+ALTER TABLE artifact_votes DROP CONSTRAINT artifact_votes_fk_aid;
+ALTER TABLE artifact_votes ADD CONSTRAINT artifact_votes_fk_aid FOREIGN KEY (artifact_id) REFERENCES artifact(artifact_id) ON DELETE CASCADE;

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

Summary of changes:
 src/CHANGES                                     | 1 +
 src/db/20160624-fix-vote-tracker-constraint.sql | 2 ++
 2 files changed, 3 insertions(+)
 create mode 100644 src/db/20160624-fix-vote-tracker-constraint.sql


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list