/usr/share/gforge/db/20050823.sql is in gforge-db-postgresql 5.1.1-2.
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 8 9 10 11 | ALTER TABLE forum_attachmenttype add column group_id integer;
UPDATE forum_attachmenttype set group_id=-1;
alter table forum_attachment drop constraint filehash;
alter table forum_attachmenttype drop constraint forum_attachmenttype_key;
ALTER TABLE ONLY forum_attachmenttype
ADD CONSTRAINT forum_attachmenttype_key PRIMARY KEY (extension,group_id);
|