Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit 46c8867

Browse files
author
Sergey Vasilyev
committed
Convert JSON column type to a dataclass as all other column types
1 parent f7c1b9d commit 46c8867

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

data_diff/sqeleton/abcs/database_types.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ class Text(StringType):
134134
supported = False
135135

136136

137+
# In majority of DBMSes, it is called JSON/JSONB. Only in Snowflake, it is OBJECT.
138+
@dataclass
137139
class JSON(ColType):
138140
pass
139141

0 commit comments

Comments
 (0)