Skip to content
This repository was archived by the owner on Aug 18, 2025. It is now read-only.

Commit 70e6514

Browse files
committed
Add support for JSONB
1 parent c4b839e commit 70e6514

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/types.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ impl FromStr for Type {
9090
"bytea" => PgType::BYTEA,
9191
"bytea[]" => PgType::BYTEA_ARRAY,
9292
"integer" | "int4" => PgType::INT4,
93+
"jsonb" => PgType::JSONB,
9394
"text" | "character varying" => PgType::TEXT,
9495
"text[]" => PgType::TEXT_ARRAY,
9596
"timestamp with time zone" => PgType::TIMESTAMPTZ,

0 commit comments

Comments
 (0)