Update environment files and modify SQL trigger

Environment files have been updated; a typo corrected in .env.development, and new variables added in .env.test. Sequence of variables were also reorganized in .env.test for better readability. Additionally, the name of an SQL trigger in seed.sql file has been changed to align with naming convention. Lastly, the application running command in workflow.yml has been modified for efficiency.
This commit is contained in:
giancarlo
2024-04-13 15:48:57 +08:00
parent 6049c17aa7
commit 4ed51fed22
4 changed files with 16 additions and 12 deletions

View File

@@ -25,7 +25,7 @@ execute function "supabase_functions"."http_request"(
);
-- this webhook will be triggered after every delete on the accounts_memberships table
create trigger "account_membership_delete" after delete
create trigger "accounts_memberships_delete" after delete
on "public"."accounts_memberships" for each row
execute function "supabase_functions"."http_request"(
'http://host.docker.internal:3000/api/db/webhook',