From 3d772413a194c5b33d4202285d46b285920c475b Mon Sep 17 00:00:00 2001
From: Alexander Sulfrian <alexander@sulfrian.net>
Date: Wed, 7 Dec 2011 19:08:06 +0100
Subject: modified sql statements to work with postgresql

---
 sql/update_13.sql | 60 +++++++++++++++++++++++++++----------------------------
 1 file changed, 30 insertions(+), 30 deletions(-)

(limited to 'sql/update_13.sql')

diff --git a/sql/update_13.sql b/sql/update_13.sql
index 5d0767d..5d16e23 100644
--- a/sql/update_13.sql
+++ b/sql/update_13.sql
@@ -1,34 +1,34 @@
-update perm_channel set perm_id = "i_icon_id" where perm_id = "i_group_icon_id";
-update perm_channel set perm_id = "i_needed_modify_power_icon_id" where perm_id = "i_needed_modify_power_group_icon_id";
-update perm_channel set perm_id = "i_max_icon_filesize" where perm_id = "i_group_max_icon_filesize";
-update perm_channel set perm_id = "i_needed_modify_power_max_icon_filesize" where perm_id = "i_needed_modify_power_group_max_icon_filesize";
-update perm_channel set perm_id = "b_icon_manage" where perm_id = "b_group_icon_manage";
-update perm_channel set perm_id = "i_needed_modify_power_icon_manage" where perm_id = "i_needed_modify_power_group_icon_manage";
+update perm_channel set perm_id = 'i_icon_id' where perm_id = 'i_group_icon_id';
+update perm_channel set perm_id = 'i_needed_modify_power_icon_id' where perm_id = 'i_needed_modify_power_group_icon_id';
+update perm_channel set perm_id = 'i_max_icon_filesize' where perm_id = 'i_group_max_icon_filesize';
+update perm_channel set perm_id = 'i_needed_modify_power_max_icon_filesize' where perm_id = 'i_needed_modify_power_group_max_icon_filesize';
+update perm_channel set perm_id = 'b_icon_manage' where perm_id = 'b_group_icon_manage';
+update perm_channel set perm_id = 'i_needed_modify_power_icon_manage' where perm_id = 'i_needed_modify_power_group_icon_manage';
 
-update perm_channel_clients set perm_id = "i_icon_id" where perm_id = "i_group_icon_id";
-update perm_channel_clients set perm_id = "i_needed_modify_power_icon_id" where perm_id = "i_needed_modify_power_group_icon_id";
-update perm_channel_clients set perm_id = "i_max_icon_filesize" where perm_id = "i_group_max_icon_filesize";
-update perm_channel_clients set perm_id = "i_needed_modify_power_max_icon_filesize" where perm_id = "i_needed_modify_power_group_max_icon_filesize";
-update perm_channel_clients set perm_id = "b_icon_manage" where perm_id = "b_group_icon_manage";
-update perm_channel_clients set perm_id = "i_needed_modify_power_icon_manage" where perm_id = "i_needed_modify_power_group_icon_manage";
+update perm_channel_clients set perm_id = 'i_icon_id' where perm_id = 'i_group_icon_id';
+update perm_channel_clients set perm_id = 'i_needed_modify_power_icon_id' where perm_id = 'i_needed_modify_power_group_icon_id';
+update perm_channel_clients set perm_id = 'i_max_icon_filesize' where perm_id = 'i_group_max_icon_filesize';
+update perm_channel_clients set perm_id = 'i_needed_modify_power_max_icon_filesize' where perm_id = 'i_needed_modify_power_group_max_icon_filesize';
+update perm_channel_clients set perm_id = 'b_icon_manage' where perm_id = 'b_group_icon_manage';
+update perm_channel_clients set perm_id = 'i_needed_modify_power_icon_manage' where perm_id = 'i_needed_modify_power_group_icon_manage';
 
-update perm_channel_groups set perm_id = "i_icon_id" where perm_id = "i_group_icon_id";
-update perm_channel_groups set perm_id = "i_needed_modify_power_icon_id" where perm_id = "i_needed_modify_power_group_icon_id";
-update perm_channel_groups set perm_id = "i_max_icon_filesize" where perm_id = "i_group_max_icon_filesize";
-update perm_channel_groups set perm_id = "i_needed_modify_power_max_icon_filesize" where perm_id = "i_needed_modify_power_group_max_icon_filesize";
-update perm_channel_groups set perm_id = "b_icon_manage" where perm_id = "b_group_icon_manage";
-update perm_channel_groups set perm_id = "i_needed_modify_power_icon_manage" where perm_id = "i_needed_modify_power_group_icon_manage";
+update perm_channel_groups set perm_id = 'i_icon_id' where perm_id = 'i_group_icon_id';
+update perm_channel_groups set perm_id = 'i_needed_modify_power_icon_id' where perm_id = 'i_needed_modify_power_group_icon_id';
+update perm_channel_groups set perm_id = 'i_max_icon_filesize' where perm_id = 'i_group_max_icon_filesize';
+update perm_channel_groups set perm_id = 'i_needed_modify_power_max_icon_filesize' where perm_id = 'i_needed_modify_power_group_max_icon_filesize';
+update perm_channel_groups set perm_id = 'b_icon_manage' where perm_id = 'b_group_icon_manage';
+update perm_channel_groups set perm_id = 'i_needed_modify_power_icon_manage' where perm_id = 'i_needed_modify_power_group_icon_manage';
 
-update perm_client set perm_id = "i_icon_id" where perm_id = "i_group_icon_id";
-update perm_client set perm_id = "i_needed_modify_power_icon_id" where perm_id = "i_needed_modify_power_group_icon_id";
-update perm_client set perm_id = "i_max_icon_filesize" where perm_id = "i_group_max_icon_filesize";
-update perm_client set perm_id = "i_needed_modify_power_max_icon_filesize" where perm_id = "i_needed_modify_power_group_max_icon_filesize";
-update perm_client set perm_id = "b_icon_manage" where perm_id = "b_group_icon_manage";
-update perm_client set perm_id = "i_needed_modify_power_icon_manage" where perm_id = "i_needed_modify_power_group_icon_manage";
+update perm_client set perm_id = 'i_icon_id' where perm_id = 'i_group_icon_id';
+update perm_client set perm_id = 'i_needed_modify_power_icon_id' where perm_id = 'i_needed_modify_power_group_icon_id';
+update perm_client set perm_id = 'i_max_icon_filesize' where perm_id = 'i_group_max_icon_filesize';
+update perm_client set perm_id = 'i_needed_modify_power_max_icon_filesize' where perm_id = 'i_needed_modify_power_group_max_icon_filesize';
+update perm_client set perm_id = 'b_icon_manage' where perm_id = 'b_group_icon_manage';
+update perm_client set perm_id = 'i_needed_modify_power_icon_manage' where perm_id = 'i_needed_modify_power_group_icon_manage';
 
-update perm_server_group set perm_id = "i_icon_id" where perm_id = "i_group_icon_id";
-update perm_server_group set perm_id = "i_needed_modify_power_icon_id" where perm_id = "i_needed_modify_power_group_icon_id";
-update perm_server_group set perm_id = "i_max_icon_filesize" where perm_id = "i_group_max_icon_filesize";
-update perm_server_group set perm_id = "i_needed_modify_power_max_icon_filesize" where perm_id = "i_needed_modify_power_group_max_icon_filesize";
-update perm_server_group set perm_id = "b_icon_manage" where perm_id = "b_group_icon_manage";
-update perm_server_group set perm_id = "i_needed_modify_power_icon_manage" where perm_id = "i_needed_modify_power_group_icon_manage";
+update perm_server_group set perm_id = 'i_icon_id' where perm_id = 'i_group_icon_id';
+update perm_server_group set perm_id = 'i_needed_modify_power_icon_id' where perm_id = 'i_needed_modify_power_group_icon_id';
+update perm_server_group set perm_id = 'i_max_icon_filesize' where perm_id = 'i_group_max_icon_filesize';
+update perm_server_group set perm_id = 'i_needed_modify_power_max_icon_filesize' where perm_id = 'i_needed_modify_power_group_max_icon_filesize';
+update perm_server_group set perm_id = 'b_icon_manage' where perm_id = 'b_group_icon_manage';
+update perm_server_group set perm_id = 'i_needed_modify_power_icon_manage' where perm_id = 'i_needed_modify_power_group_icon_manage';
-- 
cgit v1.2.3

