Changed column in tuser_task_scheduled
This commit is contained in:
parent
1dd8f630f8
commit
9b1cbf3c9b
|
@ -0,0 +1,13 @@
|
|||
START TRANSACTION;
|
||||
|
||||
SET @st_oum708 = (SELECT IF(
|
||||
(SELECT COUNT(*) FROM information_schema.tables WHERE table_schema = DATABASE() AND table_name = 'tuser_task_scheduled') > 0,
|
||||
"ALTER TABLE tuser_task_scheduled MODIFY args TEXT NOT NULL",
|
||||
"SELECT 1"
|
||||
));
|
||||
|
||||
PREPARE pr_oum708 FROM @st_oum708;
|
||||
EXECUTE pr_oum708;
|
||||
DEALLOCATE PREPARE pr_oum708;
|
||||
|
||||
COMMIT;
|
|
@ -1326,6 +1326,10 @@ SET @vv1 = (SELECT COUNT(*) FROM information_schema.tables WHERE table_schema =
|
|||
IF @vv1>0 THEN
|
||||
ALTER TABLE tbackup ADD COLUMN `filepath` varchar(512) NOT NULL DEFAULT "";
|
||||
END IF;
|
||||
SET @vv2 = (SELECT COUNT(*) FROM information_schema.tables WHERE table_schema = DATABASE() AND table_name = 'tuser_task_scheduled');
|
||||
IF @vv2>0 THEN
|
||||
ALTER TABLE tuser_task_scheduled MODIFY args TEXT NOT NULL;
|
||||
END IF;
|
||||
END;
|
||||
//
|
||||
delimiter ;
|
||||
|
|
Loading…
Reference in New Issue