From 75c79ba02be12456b3949450a07ac40f86e63b4f Mon Sep 17 00:00:00 2001 From: "gowthaman.b" Date: Wed, 8 May 2024 14:23:35 +0530 Subject: [PATCH] keep track of history --- src/main/resources/dbmigration/1.31.sql | 3 +++ .../resources/dbmigration/model/1.24.model.xml | 2 +- .../resources/dbmigration/model/1.31.model.xml | 14 ++++++++++++++ 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 src/main/resources/dbmigration/1.31.sql create mode 100644 src/main/resources/dbmigration/model/1.31.model.xml diff --git a/src/main/resources/dbmigration/1.31.sql b/src/main/resources/dbmigration/1.31.sql new file mode 100644 index 0000000..f2ea7ca --- /dev/null +++ b/src/main/resources/dbmigration/1.31.sql @@ -0,0 +1,3 @@ +-- apply alter tables +alter table auth_token_cache add column if not exists refresh_history jsonb; +alter table product add column if not exists id varchar(255); diff --git a/src/main/resources/dbmigration/model/1.24.model.xml b/src/main/resources/dbmigration/model/1.24.model.xml index 1c9330d..411c88a 100644 --- a/src/main/resources/dbmigration/model/1.24.model.xml +++ b/src/main/resources/dbmigration/model/1.24.model.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/src/main/resources/dbmigration/model/1.31.model.xml b/src/main/resources/dbmigration/model/1.31.model.xml new file mode 100644 index 0000000..3d12a16 --- /dev/null +++ b/src/main/resources/dbmigration/model/1.31.model.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + \ No newline at end of file