You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CREATETRIGGERon_app_stats_create
AFTER INSERT ONpublic.app_stats
FOR EACH ROW
EXECUTE FUNCTION public.trigger_http_post_to_function('on_app_stats_create');
CREATETRIGGERon_app_stats_update
AFTER UPDATEONpublic.app_stats
FOR EACH ROW
EXECUTE FUNCTION public.trigger_http_post_to_function('on_app_stats_update');
CREATETRIGGERon_channel_create
AFTER INSERT ONpublic.channels
FOR EACH ROW
EXECUTE FUNCTION public.trigger_http_post_to_function('on_channel_create');
CREATETRIGGERon_channel_update
AFTER UPDATEONpublic.channels
FOR EACH ROW
EXECUTE FUNCTION public.trigger_http_post_to_function('on_channel_update');
CREATETRIGGERon_shared_create
AFTER INSERT ONpublic.channel_users
FOR EACH ROW
EXECUTE FUNCTION public.trigger_http_post_to_function('on_shared_create');
CREATETRIGGERon_user_create
AFTER INSERT ONpublic.users
FOR EACH ROW
EXECUTE FUNCTION public.trigger_http_post_to_function('on_user_create');
CREATETRIGGERon_user_update
AFTER UPDATEONpublic.users
FOR EACH ROW
EXECUTE FUNCTION public.trigger_http_post_to_function('on_user_update');
CREATETRIGGERon_version_create
AFTER INSERT ONpublic.app_versions
FOR EACH ROW
EXECUTE FUNCTION public.trigger_http_post_to_function('on_version_create');
CREATETRIGGERon_version_update
AFTER UPDATEONpublic.app_versions
FOR EACH ROW
EXECUTE FUNCTION public.trigger_http_post_to_function('on_version_update');
CREATETRIGGERon_devices_override_update
AFTER INSERT orUPDATEorDELETEONpublic.devices_override
FOR EACH ROW
EXECUTE FUNCTION public.trigger_http_post_to_function('on_device_update');
CREATETRIGGERon_channel_devices_update
AFTER INSERT orUPDATEorDELETEONpublic.channel_devices
FOR EACH ROW
EXECUTE FUNCTION public.trigger_http_post_to_function('on_device_update');
CREATETRIGGERon_app_delete_sql
BEFORE DELETEON apps
FOR EACH ROW
EXECUTE PROCEDURE on_app_delete_sql();
CREATETRIGGERon_app_versions_delete_sql
BEFORE DELETEON app_versions
FOR EACH ROW
EXECUTE PROCEDURE on_app_version_delete_sql();
CREATETRIGGERon_device_delete_sql
BEFORE DELETEON devices
FOR EACH ROW
EXECUTE PROCEDURE on_device_delete_sql();
Have to be evaluated for transfer to queue mode
The text was updated successfully, but these errors were encountered:
Also in the list the generation of stats for user dashboard and billing.
I'm working on a function who can read the current CPU mem usage and prevent the job to run when it's hight usage
Right now users cannot delete they app because the delete cascade to device table and logs and this table have too much data.
So one idea is to replace the cascade delete by job in a queue:
https://blog.mansueli.com/building-a-queue-system-with-supabase-and-postgresql
All this triggers:
Have to be evaluated for transfer to queue mode
The text was updated successfully, but these errors were encountered: