[Fusionforge-commits] FusionForge branch master updated. a46a7267f3793eddf5e76ee7f281ec15690dcf01

Roland Mas lolando at fusionforge.org
Fri Oct 26 11:14:53 CEST 2012


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  a46a7267f3793eddf5e76ee7f281ec15690dcf01 (commit)
      from  1a70496da0de6b17679578a9b74bf404032fa110 (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 -----------------------------------------------------------------
commit a46a7267f3793eddf5e76ee7f281ec15690dcf01
Author: Roland Mas <lolando at debian.org>
Date:   Fri Oct 26 11:14:45 2012 +0200

    More database polishing

diff --git a/src/db/20121026-more-db-cleaning.sql b/src/db/20121026-more-db-cleaning.sql
new file mode 100644
index 0000000..96b7c0c
--- /dev/null
+++ b/src/db/20121026-more-db-cleaning.sql
@@ -0,0 +1,20 @@
+ALTER TABLE project_assigned_to DROP COLUMN project_assigned_id;
+DROP INDEX projectassigned_assignedtotaskid;
+DROP SEQUENCE project_assigned_to_pk_seq;
+
+ALTER TABLE forum_saved_place DROP COLUMN saved_place_id;
+DROP SEQUENCE forum_saved_place_pk_seq;
+ALTER TABLE forum_saved_place ADD FOREIGN KEY (forum_id) REFERENCES forum ON DELETE CASCADE ON UPDATE CASCADE;
+
+ALTER TABLE filemodule_monitor DROP COLUMN id;
+DROP SEQUENCE filemodule_monitor_pk_seq;
+ALTER TABLE filemodule_monitor ADD FOREIGN KEY (filemodule_id) REFERENCES frs_package ON DELETE CASCADE ON UPDATE CASCADE;
+
+ALTER TABLE prdb_dbs ADD FOREIGN KEY (created_by) REFERENCES users ON DELETE CASCADE ON UPDATE CASCADE;
+
+ALTER TABLE trove_treesums DROP COLUMN trove_treesums_id;
+DROP SEQUENCE trove_treesums_pk_seq;
+
+ALTER TABLE prdb_dbs ADD FOREIGN KEY (created_by) REFERENCES users ON DELETE CASCADE ON UPDATE CASCADE;
+
+ALTER TABLE mail_group_list ADD FOREIGN KEY (list_admin) REFERENCES users ON DELETE CASCADE ON UPDATE CASCADE;

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

Summary of changes:
 src/db/20121026-more-db-cleaning.sql |   20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 src/db/20121026-more-db-cleaning.sql


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list