diff --git a/backend/src/main/resources/config/v_1.0/20251126-fix_table_temp.xml b/backend/src/main/resources/config/v_1.0/20251126-fix_table_temp.xml new file mode 100644 index 0000000..7e2bbc5 --- /dev/null +++ b/backend/src/main/resources/config/v_1.0/20251126-fix_table_temp.xml @@ -0,0 +1,23 @@ + + + + + + + CREATE TABLE + + DROP TABLE IF EXISTS actualization.temp_recruitment_updates; + CREATE TABLE IF NOT EXISTS actualization.temp_recruitment_updates ( + id BIGSERIAL PRIMARY KEY, + recruitment_id varchar(36) NOT NULL, + time_created timestamptz NOT NULL, + diff_text TEXT, + CONSTRAINT uq_recruitment_time UNIQUE (recruitment_id, time_created) + ); + + + \ No newline at end of file diff --git a/backend/src/main/resources/config/v_1.0/changelog-1.0.xml b/backend/src/main/resources/config/v_1.0/changelog-1.0.xml index 9274909..36fd61d 100644 --- a/backend/src/main/resources/config/v_1.0/changelog-1.0.xml +++ b/backend/src/main/resources/config/v_1.0/changelog-1.0.xml @@ -43,4 +43,5 @@ + \ No newline at end of file