From 39081f84a402aebb52d98a43e4675c90135cea9b Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Wed, 7 Dec 2011 19:06:52 +0100 Subject: added sql files --- sql/update_13.sql | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 sql/update_13.sql (limited to 'sql/update_13.sql') diff --git a/sql/update_13.sql b/sql/update_13.sql new file mode 100644 index 0000000..5d0767d --- /dev/null +++ b/sql/update_13.sql @@ -0,0 +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_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_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"; -- cgit v1.2.3