From c474ca63017c18abcc1d6f10e7321edd6eebc779 Mon Sep 17 00:00:00 2001 From: star <15031259256@163.com> Date: Sat, 13 Jan 2024 22:56:57 +0800 Subject: [PATCH] chore(controller):update jobs column to longtext which belong to model version (#3124) --- ...0_034__alter_jobs_type_for_model_version.sql | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 server/controller/src/main/resources/db/migration/v0_4_0/V0_4_0_034__alter_jobs_type_for_model_version.sql diff --git a/server/controller/src/main/resources/db/migration/v0_4_0/V0_4_0_034__alter_jobs_type_for_model_version.sql b/server/controller/src/main/resources/db/migration/v0_4_0/V0_4_0_034__alter_jobs_type_for_model_version.sql new file mode 100644 index 0000000000..eb8a2eff02 --- /dev/null +++ b/server/controller/src/main/resources/db/migration/v0_4_0/V0_4_0_034__alter_jobs_type_for_model_version.sql @@ -0,0 +1,17 @@ +/* + * Copyright 2022 Starwhale, Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +ALTER TABLE model_version MODIFY COLUMN jobs LONGTEXT NOT NULL; \ No newline at end of file