From c9bc42bacc5dfba9daf4e4b3adef77eb3a98ce14 Mon Sep 17 00:00:00 2001 From: shiziyuan9527 Date: Thu, 19 Nov 2020 16:03:32 +0800 Subject: [PATCH] refactor: flyway --- .../src/main/resources/db/migration/V45__modify_issues.sql | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 backend/src/main/resources/db/migration/V45__modify_issues.sql diff --git a/backend/src/main/resources/db/migration/V45__modify_issues.sql b/backend/src/main/resources/db/migration/V45__modify_issues.sql new file mode 100644 index 0000000000..0617627ced --- /dev/null +++ b/backend/src/main/resources/db/migration/V45__modify_issues.sql @@ -0,0 +1,4 @@ +alter table issues drop primary key; +alter table issues + add constraint issues_pk + primary key (id, platform); \ No newline at end of file