mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 15:54:29 +02:00
13072-Change to 69.sql
This commit is contained in:
parent
5e273db908
commit
62030d67fa
@ -1,5 +1,11 @@
|
|||||||
START TRANSACTION;
|
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;
|
DROP TABLE tskin;
|
||||||
|
|
||||||
ALTER TABLE `tusuario`
|
ALTER TABLE `tusuario`
|
||||||
|
@ -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;
|
|
Loading…
x
Reference in New Issue
Block a user