diff --git a/polyglot/adapter.json b/polyglot/adapter.json index 7f591ea..fbd453f 100644 --- a/polyglot/adapter.json +++ b/polyglot/adapter.json @@ -45,6 +45,16 @@ "length": 32704 } }, + { + "from": { + "type": "varchar", + "mode": "char", + "hasMaxLength": true + }, + "to": { + "length": 255 + } + }, { "from": { "type": "nvarchar", @@ -54,6 +64,16 @@ "length": 32704 } }, + { + "from": { + "type": "nvarchar", + "mode": "nchar", + "hasMaxLength": true + }, + "to": { + "length": 255 + } + }, { "from": { "type": "binary", diff --git a/polyglot/convertAdapter.json b/polyglot/convertAdapter.json index 999133d..f590d7a 100644 --- a/polyglot/convertAdapter.json +++ b/polyglot/convertAdapter.json @@ -62,7 +62,25 @@ "to": { "hasMaxLength": true } - } + }, + { + "from": { + "mode": "char", + "length": 255 + }, + "to": { + "hasMaxLength": true + } + }, + { + "from": { + "mode": "nchar", + "length": 255 + }, + "to": { + "hasMaxLength": true + } + }, ] } }