From bc65aaa83f2fcb6afcf1a6bc564fba9dc78f9f7d Mon Sep 17 00:00:00 2001
From: Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>
Date: Sat, 2 Nov 2024 00:56:13 +0300
Subject: fix: remove insert trigger on users, check insert user on login err
 (#224)

---
 backend/database/init.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'backend/database/init.sql')

diff --git a/backend/database/init.sql b/backend/database/init.sql
index 11ccd38..e238eae 100644
--- a/backend/database/init.sql
+++ b/backend/database/init.sql
@@ -13,7 +13,7 @@ CREATE TABLE users (
 );
 
 CREATE TRIGGER "users"
-AFTER INSERT OR UPDATE OR DELETE ON "users"
+AFTER UPDATE OR DELETE ON "users"
 FOR EACH ROW EXECUTE FUNCTION log_audit();
 
 CREATE TABLE games (
-- 
cgit v1.2.3

