diff --git a/pandora_console/extras/mr/69.sql b/pandora_console/extras/mr/69.sql index 11562f9ded..64e7aa11ba 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 tskin; ALTER TABLE `tusuario` diff --git a/pandora_console/extras/mr/70.sql b/pandora_console/extras/mr/70.sql deleted file mode 100644 index a0a3e6fdae..0000000000 --- a/pandora_console/extras/mr/70.sql +++ /dev/null @@ -1,8 +0,0 @@ -START TRANSACTION; - -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; - -COMMIT;