/usr/share/gforge/db/20120803-drop-useless.sql is in gforge-db-postgresql 5.3.2+20141104-3+deb8u3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 | ALTER TABLE trove_group_link DROP COLUMN trove_group_id;
DROP SEQUENCE trove_group_link_pk_seq;
ALTER TABLE trove_group_link ADD FOREIGN KEY (trove_cat_root) REFERENCES trove_cat(trove_cat_id);
ALTER TABLE group_plugin DROP COLUMN group_plugin_id;
DROP SEQUENCE group_plugin_pk_seq;
CREATE INDEX groupplugin_pluginid ON group_plugin (plugin_id);
|