Update dolphinscheduler_ddl.sql (#11974)

This commit is contained in:
fuchanghai 2022-09-16 11:41:57 +08:00 committed by GitHub
parent 15506a8785
commit 642f444eee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -407,7 +407,7 @@ BEGIN
IF NOT EXISTS (SELECT 1 FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_NAME='t_ds_user'
AND TABLE_SCHEMA=(SELECT DATABASE())
AND COLUMN_NAME='t_ds_user')
AND COLUMN_NAME='time_zone')
THEN
ALTER TABLE `t_ds_user` ADD COLUMN `time_zone` varchar(32) DEFAULT NULL COMMENT 'time zone';
END IF;
@ -751,4 +751,4 @@ CREATE TABLE `t_ds_task_group_queue` (
`create_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
`update_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY( `id` )
)ENGINE= INNODB AUTO_INCREMENT= 1 DEFAULT CHARSET= utf8;
)ENGINE= INNODB AUTO_INCREMENT= 1 DEFAULT CHARSET= utf8;