Allow escaping column type with a backslash to use literal DB type, e.g. date

DB에서 지원하는 타입명과 XE 호환성을 위해 유지하는 타입명이 충돌하는 경우
(예: date) XML 스키마에서 타입명 앞에 백슬래시를 붙이면 (예: \date)
DB에서 지원하는 타입명을 강제로 사용할 수 있도록 함.
This commit is contained in:
Kijin Sung 2020-10-22 01:15:23 +09:00
parent 265a23f5ce
commit 7f2504b9b7
3 changed files with 8 additions and 1 deletions

View file

@ -218,7 +218,8 @@ class DBTableParser extends BaseParser
}
else
{
$xetype = $type;
$xetype = 'none';
$type = ltrim($type, '\\');
}
// Extract and normalize the size.