We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ca17ff commit b298bdbCopy full SHA for b298bdb
src/languages/postgresql/postgresql.formatter.ts
@@ -251,7 +251,7 @@ const reservedJoins = expandPhrases([
251
const reservedPhrases = expandPhrases([
252
'PRIMARY KEY',
253
'GENERATED {ALWAYS | BY DEFAULT} AS IDENTITY',
254
- 'ON {UPDATE | DELETE} [CASCADE | SET NULL | SET DEFAULT]',
+ 'ON {UPDATE | DELETE} [NO ACTION | RESTRICT | CASCADE | SET NULL | SET DEFAULT]',
255
'DO {NOTHING | UPDATE}',
256
'AS MATERIALIZED',
257
'{ROWS | RANGE | GROUPS} BETWEEN',
0 commit comments