]> git.ipfire.org Git - thirdparty/patchwork.git/commit
sql: Fix table lists
authorAli Alnubani <alialnu@mellanox.com>
Tue, 29 Oct 2019 07:34:46 +0000 (07:34 +0000)
committerDaniel Axtens <dja@axtens.net>
Thu, 31 Oct 2019 12:31:06 +0000 (23:31 +1100)
commitea6a7bb00ec76cbb1edce53f9bba33cc87db52a3
tree1d5f50c7e51318fb7640fb1572987ed39a58314c
parentfcac7790c5e32858c0998f9013bbf5c3795efec4
sql: Fix table lists

[ backported from master commit 1a36ed51a8e1 ]

The patch adds missing commas in the table lists where missing, and
removes where unnecessary. This fixes errors such as the following when
feeding the script to psql:

  psql:lib/sql/grant-all.postgres.sql:37: ERROR: syntax error at or near "patchwork_emailconfirmation"
  LINE 19:  patchwork_emailconfirmation,
  ...

Signed-off-by: Ali Alnubani <alialnu@mellanox.com>
Reviewed-by: Stephen Finucane <stephen@that.guru>
Fixes: ca0e79d4db34 ("sql: Sort 'grant-all' scripts alphabetically")
Signed-off-by: Daniel Axtens <dja@axtens.net>
lib/sql/grant-all.postgres.sql
releasenotes/notes/sql-fix-table-lists-77667621052b2f72.yaml [new file with mode: 0644]