Patchwork [2/5] sql: update grant-all.mysql.sql

login
register
mail settings
Submitter Florian Fainelli
Date Oct. 1, 2013, 5:39 p.m.
Message ID <1380649160-24319-3-git-send-email-f.fainelli@gmail.com>
Download mbox | patch
Permalink /patch/279645/
State Accepted
Headers show

Comments

Florian Fainelli - Oct. 1, 2013, 5:39 p.m.
The MySQL grant all script has a typo on the table
"patchwork_bundle_patches" vs "patchwork_bundlepatch" update that.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
 lib/sql/grant-all.mysql.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/lib/sql/grant-all.mysql.sql b/lib/sql/grant-all.mysql.sql
index 1bff526..6dc2d6a 100644
--- a/lib/sql/grant-all.mysql.sql
+++ b/lib/sql/grant-all.mysql.sql
@@ -20,7 +20,7 @@  GRANT SELECT, UPDATE, INSERT, DELETE ON patchwork_userprofile TO 'www-data'@loca
 GRANT SELECT, UPDATE, INSERT, DELETE ON patchwork_userprofile_maintainer_projects TO 'www-data'@localhost;
 GRANT SELECT, UPDATE, INSERT, DELETE ON patchwork_project TO 'www-data'@localhost;
 GRANT SELECT, UPDATE, INSERT, DELETE ON patchwork_bundle TO 'www-data'@localhost;
-GRANT SELECT, UPDATE, INSERT, DELETE ON patchwork_bundle_patches TO 'www-data'@localhost;
+GRANT SELECT, UPDATE, INSERT, DELETE ON patchwork_bundlepatch TO 'www-data'@localhost;
 GRANT SELECT, UPDATE, INSERT, DELETE ON patchwork_patch TO 'www-data'@localhost;
 GRANT SELECT, UPDATE, INSERT, DELETE ON patchwork_emailoptout TO 'www-data'@localhost;
 GRANT SELECT, UPDATE, INSERT, DELETE ON patchwork_patchchangenotification TO 'www-data'@localhost;