Skip to content

Commit

Permalink
feat(job): Modified JobStepProperty.propertyValue column type from te…
Browse files Browse the repository at this point in the history
…xt (65KB) to longtext (4GB)

Signed-off-by: Alberto Codutti <alberto.codutti@eurotech.com>
  • Loading branch information
Coduz committed Jul 24, 2023
1 parent 654c0a9 commit 4fa39ca
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
###############################################################################
# Copyright (c) 2023, 2022 Eurotech and/or its affiliates and others
#
# This program and the accompanying materials are made
# available under the terms of the Eclipse Public License 2.0
# which is available at https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# Eurotech - initial API and implementation
#
###############################################################################
# 100 MB
job.step.property.value.length.max=104857600
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2023, 2022 Eurotech and/or its affiliates and others
This program and the accompanying materials are made
available under the terms of the Eclipse Public License 2.0
which is available at https://www.eclipse.org/legal/epl-2.0/
SPDX-License-Identifier: EPL-2.0
Contributors:
Eurotech - initial API and implementation
-->
<databaseChangeLog
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.0.xsd"
logicalFilePath="KapuaDB/changelog-job-2.0.0.xml">

<include relativeToChangelogFile="true" file="job_job_step_properties-value_length.xml"/>

</databaseChangeLog>
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2023, 2022 Eurotech and/or its affiliates and others
This program and the accompanying materials are made
available under the terms of the Eclipse Public License 2.0
which is available at https://www.eclipse.org/legal/epl-2.0/
SPDX-License-Identifier: EPL-2.0
Contributors:
Eurotech - initial API and implementation
-->
<databaseChangeLog
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.0.xsd"

logicalFilePath="KapuaDB/changelog-job-2.0.0.xml">

<include relativeToChangelogFile="true" file="../common-properties.xml"/>

<changeSet id="changelog-job_step_properties-2.0.0_valueLength" author="eurotech">
<modifyDataType
tableName="job_job_step_properties"
columnName="property_value"
newDataType="longtext"/>
</changeSet>

</databaseChangeLog>
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@
<include relativeToChangelogFile="true" file="./1.2.0/changelog-job-1.2.0.xml"/>
<include relativeToChangelogFile="true" file="./1.5.0/changelog-job-1.5.0.xml"/>
<include relativeToChangelogFile="true" file="./1.6.0/changelog-job-1.6.0.xml"/>
<include relativeToChangelogFile="true" file="./2.0.0/changelog-job-2.0.0.xml"/>

</databaseChangeLog>

0 comments on commit 4fa39ca

Please sign in to comment.