Skip to content

Commit a650937

Browse files
authored
Fix H2 JDBC schema init script (#2564)
Change additional_properties column type from JSONB to TEXT in schema-v3.sql, since JSOnB is not a valid H2 type.
1 parent da05019 commit a650937

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

persistence/relational-jdbc/src/main/resources/h2/schema-v3.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,6 @@ CREATE TABLE IF NOT EXISTS events (
135135
principal_name TEXT,
136136
resource_type TEXT NOT NULL,
137137
resource_identifier TEXT NOT NULL,
138-
additional_properties JSONB NOT NULL DEFAULT '{}'::JSONB,
138+
additional_properties TEXT NOT NULL,
139139
PRIMARY KEY (event_id)
140140
);

0 commit comments

Comments
 (0)