From 0e4eb111f20a5836abb6a2fa7acd79e810ea24b0 Mon Sep 17 00:00:00 2001 From: Michael Herdt <55577866+herdt-michael@users.noreply.github.com> Date: Wed, 26 Oct 2022 11:17:38 +0200 Subject: [PATCH] Add db migration script of action status code for POSTRESQL databases. (#1291) Signed-off-by: Michael Herdt Signed-off-by: Michael Herdt --- .../V1_12_23__add_action_status_code___POSTGRESQL.sql | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 hawkbit-repository/hawkbit-repository-jpa/src/main/resources/db/migration/POSTGRESQL/V1_12_23__add_action_status_code___POSTGRESQL.sql diff --git a/hawkbit-repository/hawkbit-repository-jpa/src/main/resources/db/migration/POSTGRESQL/V1_12_23__add_action_status_code___POSTGRESQL.sql b/hawkbit-repository/hawkbit-repository-jpa/src/main/resources/db/migration/POSTGRESQL/V1_12_23__add_action_status_code___POSTGRESQL.sql new file mode 100644 index 000000000..305794b70 --- /dev/null +++ b/hawkbit-repository/hawkbit-repository-jpa/src/main/resources/db/migration/POSTGRESQL/V1_12_23__add_action_status_code___POSTGRESQL.sql @@ -0,0 +1,4 @@ +ALTER TABLE sp_action_status ADD code INTEGER; +CREATE INDEX sp_idx_action_status_03 + ON sp_action_status + USING BTREE (tenant, code); \ No newline at end of file