]> git.ozlabs.org Git - patchwork/commitdiff
Fix grant script
authorSimo Sorce <idra@samba.org>
Wed, 24 Oct 2012 22:07:00 +0000 (18:07 -0400)
committerJeremy Kerr <jk@ozlabs.org>
Thu, 25 Oct 2012 03:14:52 +0000 (11:14 +0800)
patchwork_patchchangenotification_id_seq does not exist,
so running this script simply fails with a rollback

Signed-off-by: Simo Sorce <idra@samba.org>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
lib/sql/grant-all.postgres.sql

index 72abb570e017150195798d5076d9523917ed1a5d..926d5d3baede01ef82119a8b0c6c6e670f2440b1 100644 (file)
@@ -46,8 +46,7 @@ GRANT SELECT, UPDATE ON
        patchwork_state_id_seq,
        patchwork_emailconfirmation_id_seq,
        patchwork_userprofile_id_seq,
-       patchwork_userprofile_maintainer_projects_id_seq,
-       patchwork_patchchangenotification_id_seq
+       patchwork_userprofile_maintainer_projects_id_seq
 TO "www-data";
 
 -- allow the mail user (in this case, 'nobody') to add patches