Run playwright tests on pull request as well

This commit is contained in:
thiloho
2024-09-13 18:45:23 +02:00
parent 08aca588d0
commit db8b284d6f
6 changed files with 14 additions and 8 deletions

View File

@@ -18,7 +18,7 @@ CREATE FUNCTION internal.track_changes ()
DECLARE
_website_id UUID;
BEGIN
IF (to_jsonb (OLD.*) - 'last_modified_at') = (to_jsonb (NEW.*) - 'last_modified_at') OR (to_jsonb (OLD.*) - 'last_modified_by') = (to_jsonb (NEW.*) - 'last_modified_by') THEN
IF (to_jsonb (OLD.*) - 'last_modified_at') = (to_jsonb (NEW.*) - 'last_modified_at') THEN
RETURN NEW;
END IF;
IF TG_TABLE_NAME = 'website' THEN