Skip to content

Commit

Permalink
Remove WHERE clause for ON UPDATE.
Browse files Browse the repository at this point in the history
  • Loading branch information
emmiegit committed Jan 15, 2024
1 parent 093d567 commit f34f909
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion queries/add_site.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ INSERT INTO site (site_slug, wikidot_id, home_slug, name, tagline, language)
ON CONFLICT (site_slug)
DO UPDATE
SET home_slug = :home_slug, name = :name, tagline = :tagline, language = :language
WHERE site_slug = :site_slug

0 comments on commit f34f909

Please sign in to comment.