diff --git a/pandora_console/extras/mr/69.sql b/pandora_console/extras/mr/69.sql index c2d2fc3288..ea49c68624 100644 --- a/pandora_console/extras/mr/69.sql +++ b/pandora_console/extras/mr/69.sql @@ -1,5 +1,11 @@ START TRANSACTION; +-- Remove column id_usuario_destino from tmensajes -- +SET @exist = (SELECT count(*) FROM information_schema.columns WHERE TABLE_NAME='tmensajes' AND COLUMN_NAME='id_usuario_destino' AND table_schema = DATABASE()); +SET @sqlstmt = IF (@exist>0, 'ALTER TABLE `tmensajes` DROP COLUMN `id_usuario_destino`', 'SELECT ""'); +prepare stmt from @sqlstmt; +execute stmt; + DROP TABLE IF EXISTS tskin; ALTER TABLE tfavmenu_user CONVERT TO CHARACTER SET UTF8MB4;