Skip to content

Commit 1482ba0

Browse files
committed
GH-310 - Revert "Remove time zone from Postgres event publication schema."
This reverts commit 19457cd. Related ticket: GH-306.
1 parent 560315a commit 1482ba0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-modulith-events/spring-modulith-events-jdbc/src/main/resources/schema-postgresql.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ CREATE TABLE IF NOT EXISTS event_publication
44
listener_id TEXT NOT NULL,
55
event_type TEXT NOT NULL,
66
serialized_event TEXT NOT NULL,
7-
publication_date TIMESTAMP NOT NULL,
8-
completion_date TIMESTAMP,
7+
publication_date TIMESTAMP WITH TIME ZONE NOT NULL,
8+
completion_date TIMESTAMP WITH TIME ZONE,
99
PRIMARY KEY (id)
1010
)

0 commit comments

Comments
 (0)