Skip to content

Commit

Permalink
Sync alter_action_add_constraint handling to changes in parser
Browse files Browse the repository at this point in the history
  • Loading branch information
nene committed Feb 7, 2024
1 parent 207ff0f commit 063c40a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/syntax/alter_action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ export const alterActionMap: Partial<CstToDocMap<AllAlterActionNodes>> = {
print.spaced(["setKw", "options"]),
alter_action_set_default_collate: (print) =>
print.spaced(["setDefaultCollateKw", "collation"]),
alter_action_add_constraint: (print) => print.spaced(["addKw", "constraint"]),
alter_action_add_constraint: (print) =>
print.spaced(["addKw", "name", "constraint", "modifiers"]),
alter_action_add_constraint_constraint_name: (print) =>
print.spaced(["constraintKw", "name"]),
alter_action_drop_constraint: (print) =>
print.spaced([
"dropConstraintKw",
Expand Down

0 comments on commit 063c40a

Please sign in to comment.