Przeglądaj źródła

Birth Certificate whereBorn changed to UntrackedWhereBorn (update uat)

Andrew Grant 5 miesięcy temu
rodzic
commit
b7d66b6211

+ 1 - 1
src/main/resources/application.properties

@@ -2,7 +2,7 @@ spring.application.name=grants
 server.port=8086
 server.servlet.context-path=/grants
 spring.mvc.format.date=dd-MM-yyyy
-spring.profiles.active=uat
+spring.profiles.active=dev
 logging.level.scot.carricksoftware=trace
 
 

+ 12 - 0
src/main/resources/db/changelog/2025/06/19-01-changelog.sql

@@ -0,0 +1,12 @@
+/*
+ * Copyright (c) 2025.  Andrew Grant Carrick Software. All rights reserved
+ *
+ */
+
+-- liquibase formatted sql
+
+-- changeset apg:1750320865822-1
+ALTER TABLE birth_certificate
+    ADD untracked_where_born VARCHAR(255) NULL;
+
+

+ 12 - 0
src/main/resources/db/changelog/2025/06/19-02-changelog.sql

@@ -0,0 +1,12 @@
+/*
+ * Copyright (c) 2025.  Andrew Grant Carrick Software. All rights reserved
+ *
+ */
+
+-- liquibase formatted sql
+
+
+-- changeset apg:1750320865822-2
+ALTER TABLE birth_certificate
+    DROP COLUMN where_born;
+

+ 2 - 0
src/main/resources/db/changelog/master.xml

@@ -30,6 +30,8 @@
     <include file="/db/changelog/2025/06/07-01-changelog.sql"/>
     <include file="/db/changelog/2025/06/07-02-changelog.sql"/>
     <include file="/db/changelog/2025/06/07-03-changelog.sql"/>
+    <include file="/db/changelog/2025/06/19-01-changelog.sql"/>
+    <include file="/db/changelog/2025/06/19-02-changelog.sql"/>
 
 
 </databaseChangeLog>