[jOOQ/jOOQ#9354] WIP: Support for ALTER TABLE .. ALTER .. DROP DEFAULT
This commit is contained in:
parent
0286bb7e49
commit
ec553758a9
@ -4043,6 +4043,8 @@ final class ParserImpl implements Parser {
|
||||
if (!paren)
|
||||
if (parseKeywordIf(ctx, "DROP NOT NULL") || parseKeywordIf(ctx, "NULL"))
|
||||
return s1.alter(field).dropNotNull();
|
||||
else if (parseKeywordIf(ctx, "DROP DEFAULT"))
|
||||
return s1.alter(field).dropDefault();
|
||||
else if (parseKeywordIf(ctx, "SET NOT NULL") || parseKeywordIf(ctx, "NOT NULL"))
|
||||
return s1.alter(field).setNotNull();
|
||||
else if (parseKeywordIf(ctx, "SET DEFAULT"))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user