summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-11-03 09:17:06 -0800
committerJeremy Kerr <jk@ozlabs.org>2009-11-23 14:20:02 +1100
commitf34e08f25546c6283da7d44f1485f8139efd9614 (patch)
tree5171051edb6de4be8fc5c0fce70a8fcff4f41488 /lib
parent3cc3a114ce469c67ac0a78f74cef786e724bc666 (diff)
downloadpatchwork-f34e08f25546c6283da7d44f1485f8139efd9614.tar.bz2
patchwork-f34e08f25546c6283da7d44f1485f8139efd9614.tar.xz
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>
Diffstat (limited to 'lib')
-rw-r--r--lib/sql/grant-all.postgres.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sql/grant-all.postgres.sql b/lib/sql/grant-all.postgres.sql
index 72e1f31..6a1a47d 100644
--- a/lib/sql/grant-all.postgres.sql
+++ b/lib/sql/grant-all.postgres.sql
@@ -21,7 +21,7 @@ GRANT SELECT, UPDATE, INSERT, DELETE ON
patchwork_userprofile_maintainer_projects,
patchwork_project,
patchwork_bundle,
- patchwork_bundle_patches,
+ patchwork_bundlepatch,
patchwork_patch,
registration_registrationprofile
TO "www-data";
@@ -37,7 +37,7 @@ GRANT SELECT, UPDATE ON
django_content_type_id_seq,
django_site_id_seq,
patchwork_bundle_id_seq,
- patchwork_bundle_patches_id_seq,
+ patchwork_bundlepatch_id_seq,
patchwork_comment_id_seq,
patchwork_patch_id_seq,
patchwork_person_id_seq,