Skip to content

Commit

Permalink
Update mssql.py
Browse files Browse the repository at this point in the history
Adding support for image datatype on msql
  • Loading branch information
ztanruan committed Apr 12, 2023
1 parent 16ab931 commit 9685e35
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/archive/source/get-schema/lib/mssql.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
def convert_schema(type):
if "char" in type:
return "string"

elif "image" == type:
return "binary"

elif "datetime" == type:
return "timestamp"
Expand Down

0 comments on commit 9685e35

Please sign in to comment.