mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 02:50:46 -06:00
remove parenthesis from check constraint
This commit is contained in:
@@ -323,6 +323,9 @@ bool CreateTableWalker::parsecolumn(FieldPtr& f, antlr::RefAST c)
|
||||
{
|
||||
con = con->getNextSibling(); //LPAREN
|
||||
check = concatTextAST(con);
|
||||
// remove parenthesis
|
||||
check.remove(check.length()-1, 1);
|
||||
check.remove(0,1);
|
||||
}
|
||||
break;
|
||||
case sqlite3TokenTypes::DEFAULT:
|
||||
|
||||
Reference in New Issue
Block a user