diff --git a/changelog-master.xml b/changelog-master.xml index 1f2af7c..1b9ecd4 100644 --- a/changelog-master.xml +++ b/changelog-master.xml @@ -14,6 +14,7 @@ + diff --git a/sql/00010_fix_auth_into_service_column_names.sql b/sql/00010_fix_auth_into_service_column_names.sql new file mode 100644 index 0000000..9b2f66a --- /dev/null +++ b/sql/00010_fix_auth_into_service_column_names.sql @@ -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; \ No newline at end of file