From 19457cd736ecc180665d57ab7e4301836b1315ac Mon Sep 17 00:00:00 2001 From: Oliver Drotbohm Date: Thu, 21 Sep 2023 23:28:53 +0200 Subject: [PATCH] GH-306 - Remove time zone from Postgres event publication schema. --- .../src/main/resources/schema-postgresql.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-modulith-events/spring-modulith-events-jdbc/src/main/resources/schema-postgresql.sql b/spring-modulith-events/spring-modulith-events-jdbc/src/main/resources/schema-postgresql.sql index bd8bd6d7..a208b4c4 100644 --- a/spring-modulith-events/spring-modulith-events-jdbc/src/main/resources/schema-postgresql.sql +++ b/spring-modulith-events/spring-modulith-events-jdbc/src/main/resources/schema-postgresql.sql @@ -4,7 +4,7 @@ CREATE TABLE IF NOT EXISTS event_publication listener_id TEXT NOT NULL, event_type TEXT NOT NULL, serialized_event TEXT NOT NULL, - publication_date TIMESTAMP WITH TIME ZONE NOT NULL, - completion_date TIMESTAMP WITH TIME ZONE, + publication_date TIMESTAMP NOT NULL, + completion_date TIMESTAMP, PRIMARY KEY (id) )