From: Simo Sorce Date: Wed, 24 Oct 2012 22:07:00 +0000 (-0400) Subject: Fix grant script X-Git-Url: https://git.ozlabs.org/?p=patchwork;a=commitdiff_plain;h=02550731a4b37a7f42c1158afa0c2f7dd3cdb484 Fix grant script patchwork_patchchangenotification_id_seq does not exist, so running this script simply fails with a rollback Signed-off-by: Simo Sorce Signed-off-by: Jeremy Kerr --- diff --git a/lib/sql/grant-all.postgres.sql b/lib/sql/grant-all.postgres.sql index 72abb57..926d5d3 100644 --- a/lib/sql/grant-all.postgres.sql +++ b/lib/sql/grant-all.postgres.sql @@ -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