Skip to content

Commit

Permalink
Feature/cb2 11667 - NOP tsk-update-store TrailerEntry into service re…
Browse files Browse the repository at this point in the history
…quired changes (#42)

* feat: NOP tsk-update-store trailer entry into service required changes

* fix: using feature/cb2-11667 cvs-nop branch

* added default value being set to null to align with table definition
  • Loading branch information
Nat-McCabe-BJSS authored Jun 21, 2024
1 parent 4760aac commit d295b63
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog-master.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<include file="sql/00007_create_interim_fix_evl_tables.sql" relativeToChangelogFile="true"/>
<include file="sql/00008_alter_make_model_table.sql" relativeToChangelogFile="true"/>
<include file="sql/00009_alter_plateSerialNumber_field.sql" relativeToChangelogFile="true"/>
<include file="sql/00010_fix_auth_into_service_column_names.sql" relativeToChangelogFile="true"/>
<include file="sql/10000_views.sql" relativeToChangelogFile="true"/>
<include file="sql/10001_tfl_views.sql" relativeToChangelogFile="true"/>
<include file="sql/20000_evl_temporary_tweak_sp.sql" relativeToChangelogFile="true"/>
Expand Down
7 changes: 7 additions & 0 deletions sql/00010_fix_auth_into_service_column_names.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
--liquibase formatted sql
--changeset liquibase:modifyDataType -multiple-tables:1 splitStatements:true endDelimiter:; context:dev

ALTER TABLE auth_into_service CHANGE dateReceived dateReceived_old DATETIME;
ALTER TABLE auth_into_service CHANGE dateAuthorised dateAuthorised_old DATETIME;
ALTER TABLE auth_into_service CHANGE dateReceived_old dateAuthorised DATETIME DEFAULT NULL;
ALTER TABLE auth_into_service CHANGE dateAuthorised_old dateReceived DATETIME DEFAULT NULL;

0 comments on commit d295b63

Please sign in to comment.