Patchwork [4/5] sql: remove non-existing auth_message table

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

Comments

Florian Fainelli - Oct. 1, 2013, 5:39 p.m.
During a recent installation the grant-all MySQL script was erroring out
because the "auth_message" table does not exist, remove it.

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

Patch

diff --git a/lib/sql/grant-all.mysql.sql b/lib/sql/grant-all.mysql.sql
index 6dc2d6a..a307675 100644
--- a/lib/sql/grant-all.mysql.sql
+++ b/lib/sql/grant-all.mysql.sql
@@ -1,7 +1,6 @@ 
 BEGIN;
 -- give necessary permissions to the web server. Becuase the admin is all
 -- web-based, these need to be quite permissive
-GRANT SELECT, UPDATE, INSERT, DELETE ON	auth_message TO 'www-data'@localhost;
 GRANT SELECT, UPDATE, INSERT, DELETE ON django_session TO 'www-data'@localhost;
 GRANT SELECT, UPDATE, INSERT, DELETE ON django_site TO 'www-data'@localhost;
 GRANT SELECT, UPDATE, INSERT, DELETE ON django_admin_log TO 'www-data'@localhost;