Unverified Commit 47fd0bbc authored by Zzm0809's avatar Zzm0809 Committed by GitHub

[Fix] Hotfix sql file (#3220)

parent 8e08bfe5
...@@ -46,7 +46,7 @@ import { ...@@ -46,7 +46,7 @@ import {
TaskDataType, TaskDataType,
VIEW VIEW
} from '@/pages/DataStudio/model'; } from '@/pages/DataStudio/model';
import {JOB_LIFE_CYCLE, JOB_STATUS, JOB_SUBMIT_STATUS} from '@/pages/DevOps/constants'; import { JOB_LIFE_CYCLE, JOB_STATUS } from '@/pages/DevOps/constants';
import { isStatusDone } from '@/pages/DevOps/function'; import { isStatusDone } from '@/pages/DevOps/function';
import { SysConfigStateType } from '@/pages/SettingCenter/GlobalSetting/model'; import { SysConfigStateType } from '@/pages/SettingCenter/GlobalSetting/model';
import { SettingConfigKeyEnum } from '@/pages/SettingCenter/GlobalSetting/SettingOverView/constants'; import { SettingConfigKeyEnum } from '@/pages/SettingCenter/GlobalSetting/SettingOverView/constants';
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
* *
*/ */
import {JOB_STATUS, JOB_SUBMIT_STATUS} from '@/pages/DevOps/constants'; import { JOB_STATUS, JOB_SUBMIT_STATUS } from '@/pages/DevOps/constants';
import { Jobs } from '@/types/DevOps/data'; import { Jobs } from '@/types/DevOps/data';
import { parseMilliSecondStr } from '@/utils/function'; import { parseMilliSecondStr } from '@/utils/function';
......
...@@ -1694,7 +1694,7 @@ CREATE TABLE `dinky_resources` ( ...@@ -1694,7 +1694,7 @@ CREATE TABLE `dinky_resources` (
`type` tinyint(4) DEFAULT NULL COMMENT 'resource type,0:FILE,1:UDF', `type` tinyint(4) DEFAULT NULL COMMENT 'resource type,0:FILE,1:UDF',
`size` bigint(20) DEFAULT NULL COMMENT 'resource size', `size` bigint(20) DEFAULT NULL COMMENT 'resource size',
`pid` int(11) DEFAULT NULL, `pid` int(11) DEFAULT NULL,
`full_name` text COLLATE utf8mb4_general_ci DEFAULT NULL, `full_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
`is_directory` tinyint(4) DEFAULT NULL, `is_directory` tinyint(4) DEFAULT NULL,
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'create time', `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'create time',
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'update time', `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'update time',
......
...@@ -3345,7 +3345,7 @@ CREATE TABLE dinky_resources ...@@ -3345,7 +3345,7 @@ CREATE TABLE dinky_resources
type SMALLINT, type SMALLINT,
size BIGINT, size BIGINT,
pid INT, pid INT,
full_name VARCHAR(128), full_name VARCHAR(255),
is_directory SMALLINT, is_directory SMALLINT,
create_time TIMESTAMP WITHOUT TIME ZONE NOT NULL DEFAULT CURRENT_TIMESTAMP, create_time TIMESTAMP WITHOUT TIME ZONE NOT NULL DEFAULT CURRENT_TIMESTAMP,
update_time TIMESTAMP WITHOUT TIME ZONE NOT NULL DEFAULT CURRENT_TIMESTAMP, update_time TIMESTAMP WITHOUT TIME ZONE NOT NULL DEFAULT CURRENT_TIMESTAMP,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment