Skip to content

Commit f34e08f

Browse files
gitsterjk-ozlabs
authored andcommitted
Adjust postgres "grant all" script to new name of bundle table
Since c105cb0 (Initial bundle reordering support, 2009-01-29), the patchwork_bundle_patches table and its associated id sequence does not exist. The script to grant appropriate privileges was not updated when this change was made, and causes the set-up procedure described in docs/INSTALL to fail. This change adjust the script to grant appropriate access rights to match the change in the DB schema. Signed-off-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
1 parent 3cc3a11 commit f34e08f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/sql/grant-all.postgres.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ GRANT SELECT, UPDATE, INSERT, DELETE ON
2121
patchwork_userprofile_maintainer_projects,
2222
patchwork_project,
2323
patchwork_bundle,
24-
patchwork_bundle_patches,
24+
patchwork_bundlepatch,
2525
patchwork_patch,
2626
registration_registrationprofile
2727
TO "www-data";
@@ -37,7 +37,7 @@ GRANT SELECT, UPDATE ON
3737
django_content_type_id_seq,
3838
django_site_id_seq,
3939
patchwork_bundle_id_seq,
40-
patchwork_bundle_patches_id_seq,
40+
patchwork_bundlepatch_id_seq,
4141
patchwork_comment_id_seq,
4242
patchwork_patch_id_seq,
4343
patchwork_person_id_seq,

0 commit comments

Comments
 (0)