Open SabineGl opened 4 months ago
I think a lot of stuff just not yet implemented. As of numeric
type, it should be pretty easy to fix:
You would need to add numeric
into this function's logic, since there's no a proper if
it goes to else
section which is variant
type
For comments, we would need to wait for an upstream fix in simple-ddl-parser issue https://github.com/xnuinside/simple-ddl-parser/issues/173
Mapping for numeric and decimal added: https://github.com/datacontract/datacontract-cli/commit/e0aa5acb5944fcb7a7588857f42c25b201cb6c96
HI,
I'm using datacontract cli version 0.10.10
and tried to import a sql ddl file (postgres db syntax) into a datacontract yml but numeric is translated into "variant".
Table table and column comments are ignored. They do not show up in the description part of fields or model.
also references for foreign key information is ignored.
datacontract import --format sql --source cfg_customer_location_comments.sql
Result: