1
0
mirror of https://github.com/pcvolkmer/etl-processor.git synced 2025-07-03 06:52:54 +00:00

Add postgres migration file and configuration for postgres

This commit is contained in:
2023-07-25 16:48:45 +02:00
parent c8e99133e2
commit 46928964ef
5 changed files with 25 additions and 1 deletions

View File

@ -1,8 +1,9 @@
CREATE TABLE IF NOT EXISTS request
(
id int auto_increment primary key,
uuid varchar(255) not null,
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 datetime default utc_timestamp() not null

View File

@ -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)
);