From 46928964ef2b469a8c3f9eb997591ead0e6ea093 Mon Sep 17 00:00:00 2001 From: Paul-Christian Volkmer Date: Tue, 25 Jul 2023 16:48:45 +0200 Subject: Add postgres migration file and configuration for postgres --- src/main/resources/db/migration/postgresql/V0_1_0__Init.sql | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/main/resources/db/migration/postgresql/V0_1_0__Init.sql (limited to 'src/main/resources/db/migration/postgresql') diff --git a/src/main/resources/db/migration/postgresql/V0_1_0__Init.sql b/src/main/resources/db/migration/postgresql/V0_1_0__Init.sql new file mode 100644 index 0000000..483479d --- /dev/null +++ b/src/main/resources/db/migration/postgresql/V0_1_0__Init.sql @@ -0,0 +1,11 @@ +CREATE TABLE IF NOT EXISTS request +( + id serial, + uuid varchar(255) not null unique, + patient_id varchar(255) not null, + pid varchar(255) not null, + fingerprint varchar(255) not null, + status varchar(16) not null, + processed_at timestamp with time zone default now() not null, + PRIMARY KEY (id) +); \ No newline at end of file -- cgit v1.2.3