Skip to content

Commit

Permalink
Remove unnecessary RETURNING clause.
Browse files Browse the repository at this point in the history
  • Loading branch information
emmiegit committed Jan 28, 2024
1 parent d792574 commit a71252b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions queries/forum.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
-- :name add_forum_group :insert
INSERT INTO forum_group (site_slug, name, description)
VALUES (:site_slug, :name, :description)
RETURNING internal_id;
VALUES (:site_slug, :name, :description);

-- :name add_forum_category :insert
INSERT INTO forum_category (forum_category_id, forum_group_internal_id, name, description)
Expand Down

0 comments on commit a71252b

Please sign in to comment.