Skip to content

Commit 1643c56

Browse files
Merge pull request #6749 from davidwatkins73/waltz-6748-fix-ddl
Fix DDL
2 parents b0e79a1 + d871129 commit 1643c56

1 file changed

Lines changed: 31 additions & 1 deletion

File tree

waltz-schema/src/main/resources/liquibase/db.changelog-1.53.xml

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,8 @@
408408

409409

410410
<changeSet id="20230829-6728-23"
411-
author="davidwatkins73">
411+
author="davidwatkins73"
412+
dbms="!mssql">
412413
<addForeignKeyConstraint baseTableName="allocated_cost_definition"
413414
baseColumnNames="target_cost_kind_id"
414415
constraintName="allocated_cost_defn_target_cost_kind_fk"
@@ -436,4 +437,33 @@
436437
</changeSet>
437438

438439

440+
<changeSet id="20230901-6728-26"
441+
author="davidwatkins73">
442+
<comment>6728: Fix the default value</comment>
443+
444+
<dropDefaultValue tableName="cost_kind"
445+
columnName="subject_kind"/>
446+
447+
<addDefaultValue tableName="cost_kind"
448+
columnName="subject_kind"
449+
defaultValue="APPLICATION"/>
450+
</changeSet>
451+
452+
<changeSet id="20230901-6728-27"
453+
author="davidwatkins73">
454+
<comment>6728: Fix the default value</comment>
455+
<update tableName="cost_kind">
456+
<column name="subject_kind"
457+
value="APPLICATION"/>
458+
<where>subject_kind like '%APPLICATION%'</where>
459+
</update>
460+
</changeSet>
461+
462+
<changeSet id="20230901-6728-28"
463+
author="davidwatkins73">
464+
<comment>6728: Fix the default value</comment>
465+
<setColumnRemarks tableName="cost_kind" columnName="subject_kind" remarks="the kind of subject that this cost is related to, e.g. APPLICATION, MEASURABLE_RATING, etc."/>
466+
</changeSet>
467+
468+
439469
</databaseChangeLog>

0 commit comments

Comments
 (0)